CLI stands for Command-Line Interface. You can see it as the companion that helps you with your Leon journey.

For the moment, the CLI helps you for the setup of Leon. In the future more commands will be released to improve your comfort and make the use of Leon even smoother.

Commands#

The table below lists all the available commands:

CommandDescriptionOption
leon checkCheck how the setup went.
  • --name {name}: name of the Leon instance.

| | leon create birth | Brings Leon to life by checking all the requirements and install them if needed. |

  • --develop: install Leon from the develop Git branch.
  • --docker: install Leon with Docker.
  • --path {path}: location of your Leon instance.
  • --version {version}: install a specific version of Leon.
  • --name {name}: give a name to your Leon instance.
  • --no-git: install Leon without using Git (by default it installs Leon with Git if possible).
  • --interactive: interactive mode (ask questions).

| | leon help | List all commands available in the CLI. | | | leon start | Start a Leon instance. |

  • --port {port}: run a Leon instance with a specific port.
  • --name {name}: run a Leon instance with a specific name.

| | leon info | Get basic information about installed Leon instances. |

  • --name {name}: name of the Leon instance.

| | leon delete | Delete a Leon instance. |

  • --name {name}: name of the Leon instance.
  • --yes: skip all questions with a “yes” answer.

| | leon update | Update a Leon instance. |

  • --name {name}: name of the Leon instance.
  • --develop: update Leon to latest develop Git branch.
  • --version {version}: update to a specific version of Leon.
  • --no-git: update Leon without Git (by default it updates Leon by using Git if possible).

| | leon run | Run a npm script from a Leon Instance (e.g: leon run train runs npm run train in the leon instance folder). |

  • --name {name}: name of the Leon instance.

|