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.
  • --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.
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.
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.