Cloud services are a natural extension of your application, so managing them should feel like a natural extension of your workflow.
The following are a few basic commands to familiarize yourself with the most common CLI commands.
If you have not yet installed the tool, visit our install instructions.
In order to begin using Manifold through the CLI you must first have an account.
$ manifold signup
This will walk you through the signup process without leaving the comforts of your terminal! At the end, you will need to check your email for an email verification code.
To log in to your account, we offer both standard password authentication, or GitHub authentication.
$ manifold login
$ manifold oauth --github
Note: if you’ve enabled GitHub authentication for your account, you can only authenticate via GitHub. To revert to normal password, reset your password from the Manifold Dashboard
Create a project
$ manifold projects create
$ manifold create
This can provision logging, monitoring or any of the other services available in our marketplace.
Save your config
$ manifold init
This will generate a
.manifold.yml file in the current directory to save the current team and project that
manifold run should reference.
Run your project
$ manifold run '[server start command]'
This executes any command or runtime, with your credentials accessible via environment variables for this session only.
Credential Aliasing (CLI only)
$ manifold alias [--team TEAM_NAME][--project PROJECT_NAME][--me (no team)]
This allows you to rename environment variables an an individual basis in case of a naming conflict or for personal preference.
⚠️ Warning: renaming your credentials will cause your application to fail! Make sure you only do this for new projects, or have planned for downtime.
$ manifold export
Alternately, this outputs your current configuration in
.env format. If you would like to change the format, specify the
$ manifold export -f json
manifold run operates within the context of either your project, or a team project. To learn more about that, continue reading about teams.