Leverans

All Commands in CLI

Since the Leverans cluster is managed in the client side, we need a CLI tool to manage it. But don't worry, you will only use one command 90% of the time - lev deploy.

But for different situations, it is good to know other commands. They may solve your problem

Below will be all commands and a short description

lev deploy

The most important command in the system. We have created a separate page for it in the documentation, go here.

lev auth / lev login

Since authentication and login are very important in Leverans, we have also created a separate page in the documentation, go here.

lev whoami

Command to check if CLI is connected to the server. Command to find out what IP the server has and what our username is

lev version

Command to check the version of the CLI

lev new

Command to create a new project, usage example: lev new my-project

lev rollback

Command to rollback the project to the last version. Use in extreme situations. Since Rollback changes the system state regardless of the config file. If possible, we advise to rollback to the previous version of the code and execute lev deploy.

Flags:

All flags support the short version

lev plan

This is the first part of what you get in lev deploy. But unlike lev plan it allows you to safely know what will happen in the Leverans cluster on upgrade. Uses the same flags as lev deploy

lev secret

It's a command to manage secrets

Subcommands:

Flags:

lev user

This command allows you to create new user, and you can get all users on the system. This command is still in experimental phase, it will be stable soon.

Subcommands: