Skip to content

Commit

Permalink
#51 Added docs for completion command in score-k8s (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-benoit authored Oct 29, 2024
2 parents 84813f4 + 7e1b7d5 commit a0e7aca
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions content/en/docs/score implementation/score-k8s/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,58 @@ Displays help information for `generate`, providing a short description of the c
score-k8s generate --help
```

## `completion`

Generate the autocompletion script for `score-k8s` for the specified shell. See each sub-command's help for details on how to use the generated script.

#### Sub-Commands

The `completion` commands supports the following sub-commands.

#### `bash`

Generate completions for bash

```bash
score-k8s completion bash
```

#### `zsh`

Generate completions for zsh

```bash
score-k8s completion zsh
```

#### `fish`

Generate completions for fish

```bash
score-k8s completion fish
```

#### `powershell`

Generate completions for powershell

```bash
score-k8s completion powershell
```

#### Flags

The `completion` command can be combined with the following flags

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

Displays help information for `completion`, providing a short description of the command along with sub-commands and compatible flags.

```bash
score-k8s completion --help
```

## `help`

The `help` command provides information on all commands.
Expand Down

0 comments on commit a0e7aca

Please sign in to comment.