Project
Commands to perform project related actions. Available actions are: link, create and update
$ envless project --help
Commands to perform project related actions. Available actions are: link, create and update
USAGE
$ envless project
DESCRIPTION
Commands to perform project related actions. Available actions are: link, create and
update
EXAMPLES
$ envless project link
$ envless project create
$ envless project update
COMMANDS
$ project link Link your development project to the Envless project.
$ project create Create a new Envless project.
$ project update Update an existing Envless project.
Link
From your project's root directory run following command to link your project with Envless:
Link your project with Envless project
envless project link --projectId xxxxxxxx
When you link your project with Envless, it will create a .envless.yml
file in your project's root directory. This directory will contain the project id and branch name. You can change the branch name in this file to point to a different branch. Its recommended to commit this file to your project's repository.
.envless.yml
branch: development
projectId: xxxxxxxxxxxxxxxxxxxx
For IaaS providers with Docker, K8S and others, PaaS (Vercel, Supabase, Netlify and others) and CI/CD pipelines (Github actions, Gitlab CI/CD, Circle CI and others), you can use ENV variables to initialize Envless CLI.
Envless ENV variables
export ENVLESS_CLI_ID=xxxxxxxx
export ENVLESS_CLI_TOKEN=xxxxxxxx
export ENVLESS_PROJECT_ID=xxxxxxxx
export ENVLESS_BRANCH_NAME=xxxxxxxx
export ENVLESS_PRIVATE_KEY="
-----BEGIN PGP PRIVATE KEY BLOCK-----
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
"
Create
To create a new project, run the following command in your terminal:
Create a project
envless project create --name xxxxxxxx
This command will prompt you for the necessary information to create the project, including the project name, description, and any team members you want to add to the project.
Update
TODO: Add update command