# noust environment

Manage the environments of the projects.

```bash
noust environment [OPTIONS] COMMAND [ARGS]...
```

Subcommands: [`create`](#noust-environment-create), [`delete`](#noust-environment-delete), [`list`](#noust-environment-list), [`rename`](#noust-environment-rename)

## noust environment create

Create an environment in a project.

```bash
noust environment create [OPTIONS] NAME
```

Arguments: `name`

| Option | What it does | Default |
|---|---|---|
| `--team` | The team (default: the default team). |  |
| `--project` | The project. | `default` |
| `--slug` | Its short name; made from NAME when omitted. |  |
| `--reason` | Why this change is made (a change reference, a ticket). Recorded with the command in the audit log; required only where a compliance framework asks for it (ENS) or security.change_reasons is on. |  |

## noust environment delete

Delete an environment that holds nothing.

```bash
noust environment delete [OPTIONS] ENVIRONMENT
```

Arguments: `environment`

| Option | What it does | Default |
|---|---|---|
| `--team` | The team (default: the default team). |  |
| `--project` | The project. | `default` |
| `--yes`, `-y` | Do not ask for confirmation. |  |
| `--reason` | Why this change is made (a change reference, a ticket). Recorded with the command in the audit log; required only where a compliance framework asks for it (ENS) or security.change_reasons is on. |  |

## noust environment list

List environments, with what each holds.

```bash
noust environment list [OPTIONS]
```

| Option | What it does | Default |
|---|---|---|
| `--team` | Only this team's environments. |  |
| `--project` | Only this project's environments. |  |
| `--json` | Print the environments as JSON. |  |
| `--reason` | Why this change is made (a change reference, a ticket). Recorded with the command in the audit log; required only where a compliance framework asks for it (ENS) or security.change_reasons is on. |  |

## noust environment rename

Change an environment's display name; the short name commands use stays.

```bash
noust environment rename [OPTIONS] ENVIRONMENT NAME
```

Arguments: `environment`, `name`

| Option | What it does | Default |
|---|---|---|
| `--team` | The team (default: the default team). |  |
| `--project` | The project. | `default` |
| `--reason` | Why this change is made (a change reference, a ticket). Recorded with the command in the audit log; required only where a compliance framework asks for it (ENS) or security.change_reasons is on. |  |

