Debian Codegraph @

doc/in-toto_completion.md

raw
1 ## in-toto completion
2
3 Generate completion script
4
5 ### Synopsis
6
7 To load completions:
8 Bash:
9 $ source <(in-toto completion bash)
10 # To load completions for each session, execute once:
11 # Linux:
12 $ in-toto completion bash > /etc/bash_completion.d/in-toto
13 # macOS:
14 $ in-toto completion bash > /usr/local/etc/bash_completion.d/in-toto
15 Zsh:
16 # If shell completion is not already enabled in your environment,
17 # you will need to enable it. You can execute the following once:
18 $ echo "autoload -U compinit; compinit" >> ~/.zshrc
19 # To load completions for each session, execute once:
20 $ in-toto completion zsh > "${fpath[1]}/_in-toto"
21 # You will need to start a new shell for this setup to take effect.
22 fish:
23 $ in-toto completion fish | source
24 # To load completions for each session, execute once:
25 $ in-toto completion fish > ~/.config/fish/completions/in-toto.fish
26 PowerShell:
27 PS> in-toto completion powershell | Out-String | Invoke-Expression
28 # To load completions for every new session, run:
29 PS> in-toto completion powershell > in-toto.ps1
30 # and source this file from your PowerShell profile.
31
32
33 ```
34 in-toto completion [bash|zsh|fish|powershell]
35 ```
36
37 ### Options
38
39 ```
40 -h, --help help for completion
41 ```
42
43 ### SEE ALSO
44
45 * [in-toto](in-toto.md) - Framework to secure integrity of software supply chains
46