Environments
Applications and databases live inside an environment, and environments belong to a project. Generated from the `notploy` command surface.
Applications and databases live inside an environment, and environments belong to a project.
notploy environment exposes 7 commands. They map one-to-one onto the environment.* API operations, so anything reachable from the dashboard is reachable from here.
Run notploy environment --help to list these commands in your terminal, or
notploy environment <command> --help for a single command.
Commands
notploy environment by-project-id
Calls GET /api/trpc/environment.byProjectId.
notploy environment by-project-id --projectId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--projectId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy environment create
Calls POST /api/trpc/environment.create.
notploy environment create --name <value> --projectId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--name <value> | string | Yes | — |
--description <value> | string | No | — |
--projectId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy environment duplicate
Calls POST /api/trpc/environment.duplicate.
notploy environment duplicate --environmentId <value> --name <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--environmentId <value> | string | Yes | — |
--name <value> | string | Yes | — |
--description <value> | string | No | — |
--profile <name> | string | No | — |
notploy environment one
Calls GET /api/trpc/environment.one.
notploy environment one --environmentId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--environmentId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy environment remove
Calls POST /api/trpc/environment.remove.
notploy environment remove --environmentId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--environmentId <value> | string | Yes | — |
--profile <name> | string | No | — |
notploy environment search
Calls GET /api/trpc/environment.search.
notploy environment search [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--q <value> | string | No | — |
--name <value> | string | No | — |
--description <value> | string | No | — |
--projectId <value> | string | No | — |
--limit <value> | number | No | — |
--offset <value> | number | No | — |
--profile <name> | string | No | — |
notploy environment update
Calls POST /api/trpc/environment.update.
notploy environment update --environmentId <value> [options]| Option | Type | Required | Allowed values |
|---|---|---|---|
--environmentId <value> | string | Yes | — |
--name <value> | string | No | — |
--description <value> | string | No | — |
--projectId <value> | string | No | — |
--env <value> | string | No | — |
--profile <name> | string | No | — |