| v2.0.0.beta-18

Run

Inject secrets from Shelve into your application process

The run command allows you to inject secrets from Shelve into your application process. This command uses ni from antfu under the hood to automatically detect you package manager and run the command.

This command is still experimental and may not work as expected.

Usage

terminal
shelve run <command>

Examples

shelve run dev

Options

command
string required

The command to run (e.g. dev or build)

env
string

The environment to use (e.g. development, staging, production).

You can configure a default environment in your shelve.json file to bypass the env prompt:

shelve.json
{
  "defaultEnv": "development",
  "slug": "shelve"
}
Edit this page