Run

The `run` command

The run command is used to run your application. All the secrets and variables are injected into your application as environment variables. This command reads the keyshade.json file in your project root to get the necessary information.

Usage

keyshade run <command> [options]

Arguments

These are the arguments supported by the run command:

<command>

The command to run your application. This command is run in the same shell as the keyshade run command.

Options

  • --environment <environment> (Optional) Override the environment at runtime specified in keyshade.json for this run. This allows you to run your application in a different environment without modifying your configuration file.

    Example:

    keyshade run --environment staging "npm run dev"

You can also use any global flags with this command.

Last updated

Was this helpful?