@manasrc/mana v0.1.7
Installing mana
npm install --global @manasrc/manaAuthentication with manasrc
To use mana, you need to authenticate with manasrc by providing username and password, which
can be created by the auth signup command.
mana auth signupYou will be prompted to enter an username and a password. After entering your credentials mana
will signin for you and will create your default project and default stage. If you're already
registered use the command auth signin to login.
mana auth signinIs is possible to auth signin or auth signup to multiple manasrc accounts at the same time and
easily switch between them with the use of the --profile <profile-name> argument.
mana auth signup --profile <profile-name>mana auth signin --profile <profile-name>Basic workflow
Create variable
mana variables create <key> <value>Retrieve variables
mana variables listRetrieve variables and save them in a .env file
mana variables list --format bash > .envOther commands
Projects
Create a project
mana projects create <project-name>List all projects
mana projects listRemove a project
mana projects remove <project-name>Removing a project will delete all stages and variables associated with it.
Stages
Create a stage
mana stages create <stage-name> [--project <project-name>]If --project is not specified default will be used.
List all stages
mana stages list [--project <project-name>]If --project is not specified default will be used.
Remove a stage
mana stages remove <stage-name> [--project <project-name>]If --project is not specified default will be used.
Remove a stage will delete all variables associated with it.
Variables
Create a variable
mana variables create <key> <value> [--project <project-name>] [--stage <stage-name>]If --project is not specified default will be used.
If --stage is not specified default will be used.
List all variables
mana variables list [--project <project-name>] [--stage <stage-name>] [--format <output-format>]If --project is not specified default will be used.
If --stage is not specified default will be used.
If --format is not specified list will be used.
Save variables in a .env file
mana variables list --format bash > .envRemove a variable
mana variables remove <key> [--project <project-name>] [--stage <stage-name>]If --project is not specified default will be used.
If --stage is not specified default will be used.