Skip to content

Commit 8502b95

Browse files
cli: provisioners and patch templates docs updates (#278)
Signed-off-by: Mathieu Benoit <mathieu-benoit@hotmail.fr>
1 parent 62e85f9 commit 8502b95

2 files changed

Lines changed: 16 additions & 8 deletions

File tree

  • content/en/docs/score implementation

content/en/docs/score implementation/score-compose/cli.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ Specifies a Score file to initialize. By default this is `./score.yaml`.
6565
score-compose init --file custom_file_name.yaml
6666
```
6767

68-
### `--no-default-provisioner`
68+
### `--no-default-provisioners`
6969

70-
Skip default provisoners file creation
70+
Skips default provisoners file creation
7171

7272
```bash
7373
score-compose init --provisioners https://raw.githubusercontent.com/user/repo/main/example.yaml --no-default-provisioners
@@ -83,8 +83,10 @@ score-compose init --no-sample
8383

8484
### `--patch-templates`
8585

86-
Loads patch templates from a remote url. May be specified multiple times. Supports the following formats:
86+
Loads patch templates files. May be specified multiple times. Supports the following formats:
8787

88+
- `-` _(read from standard input)_
89+
- `./local/path/file-or-folder`
8890
- `http://host/file`
8991
- `https://host/file`
9092
- `git-ssh://git@host/repo.git/file`
@@ -107,8 +109,10 @@ score-compose init --project score-compose2
107109

108110
### `--provisioners`
109111

110-
Loads additional provisoners from a remote url. May be specified multiple times. Supports the following formats:
112+
Loads provisioners files. May be specified multiple times. Supports the following formats:
111113

114+
- `-` _(read from standard input)_
115+
- `./local/path/file-or-folder`
112116
- `http://host/file`
113117
- `https://host/file`
114118
- `git-ssh://git@host/repo.git/file`

content/en/docs/score implementation/score-k8s/cli.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ Specifies a Score file to initialize. By default this is `./score.yaml`.
6565
score-k8s init --file custom_file_name.yaml
6666
```
6767

68-
### `--no-default-provisioner`
68+
### `--no-default-provisioners`
6969

70-
Skip default provisoners file creation
70+
Skips default provisoners file creation
7171

7272
```bash
7373
score-k8s init --provisioners https://raw.githubusercontent.com/user/repo/main/example.yaml --no-default-provisioners
@@ -83,8 +83,10 @@ score-k8s init --no-sample
8383

8484
### `--patch-templates`
8585

86-
Loads patch templates from a remote url. May be specified multiple times. Supports the following formats:
86+
Loads patch templates files. May be specified multiple times. Supports the following formats:
8787

88+
- `-` _(read from standard input)_
89+
- `./local/path/file-or-folder`
8890
- `http://host/file`
8991
- `https://host/file`
9092
- `git-ssh://git@host/repo.git/file`
@@ -99,8 +101,10 @@ Learn more about this `--patch-templates` feature [here](/docs/score-implementat
99101

100102
### `--provisioners`
101103

102-
Loads additional provisoners from a remote url. May be specified multiple times. Supports the following formats:
104+
Loads provisioners files. May be specified multiple times. Supports the following formats:
103105

106+
- `-` _(read from standard input)_
107+
- `./local/path/file-or-folder`
104108
- `http://host/file`
105109
- `https://host/file`
106110
- `git-ssh://git@host/repo.git/file`

0 commit comments

Comments
 (0)