Skip to main content
Version: 1.0.0-beta.7+dev

CLI

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 birthBrings 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 helpList all commands available in the CLI.
leon startStart a Leon instance.
  • --port {port}: run a Leon instance with a specific port.
  • --name {name}: run a Leon instance with a specific name.
leon infoGet basic information about installed Leon instances.
  • --name {name}: name of the Leon instance.
leon deleteDelete a Leon instance.
  • --name {name}: name of the Leon instance.
  • --yes: skip all questions with a "yes" answer.
leon updateUpdate 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 runRun 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.