0.1.7 • Published 2 years ago

@manasrc/mana v0.1.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Installing mana

npm install --global @manasrc/mana

Authentication 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 signup

You 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 signin

Is 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 list

Retrieve variables and save them in a .env file

mana variables list --format bash > .env

Other commands

Projects

Create a project

mana projects create <project-name>

List all projects

mana projects list

Remove 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 > .env

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

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

0.0.9

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago