Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 39 additions & 1 deletion content/en/docs/score implementation/score-compose/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ Specifies the location to store sample `.env` file.
score-compose run -f ./score.yaml -o ./compose.yaml --env-file ./backend.env
```

#### `--file` | `f`
#### `--file` | `-f`

Specifies the path to the Score file. Uses `./score.yaml` as a default value if the flag isn't specified.

Expand Down Expand Up @@ -286,6 +286,44 @@ Increases log verbosity and detail by specifying this flag one or more times.
score-compose resources --verbose
```

## `provisioners`

The `provisioners` command provides subcommand related to provisioners in `score-compose`

```bash
score-compose provisioners [command]
```

### Subcommands

#### `list`

List available `provisioners`

```bash
score-compose provisioners list [flags]
```

##### Flags

###### --format | -f

Display listed provisioners in the format provided. Uses `table` as default value. Allowed values: `table`, `json`

```bash
score-compose provisioners list --fornat json
```

### Flags

#### `--help` | `-h`

Displays help information for the `provisioners` command, including its available subcommands.

```bash
score-compose provisioners --help
```

## `help`

The help command provides information on all commands.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ aliases:
| `service-port` | (any) | `workload`, `port` | `hostname`, `port` |
| `s3` | (any) | (none) | `endpoint`, `access_key_id`, `secret_key`, `bucket`, with `region=""`, `aws_access_key_id=<access_key_id>`, and `aws_secret_key=<secret_key>` for compatibility |
| `volume` | (any) | (none) | `source` |
| mssql | (any) | (none) | `server`, `port`, `connection`, `database`, `username`, `password` |

These can be found in the default provisioners file. You are encouraged to write your own provisioners and add them to the `.score-compose` directory (with the `.provisioners.yaml` extension) or contribute them upstream to the [default.provisioners.yaml](https://github.com/score-spec/score-compose/blob/main/internal/command/default.provisioners.yaml) file.

Expand Down