1COMPOSER-CLI(1) COMPOSER-CLI(1)
2
3
4
6 composer-cli-completion-zsh - Generate the autocompletion script for
7 zsh
8
9
10
12 composer-cli completion zsh [flags]
13
14
15
17 Generate the autocompletion script for the zsh shell.
18
19
20 If shell completion is not already enabled in your environment you will
21 need to enable it. You can execute the following once:
22
23
24 echo "autoload -U compinit; compinit" >> ~/.zshrc
25
26
27
28 To load completions in your current shell session:
29
30
31 source <(composer-cli completion zsh); compdef _composer-cli composer-cli
32
33
34
35 To load completions for every new session, execute once:
36
37
38 Linux:
39 composer-cli completion zsh > "${fpath[1]}/_composer-cli"
40
41
42
43 macOS:
44 composer-cli completion zsh > $(brew --prefix)/share/zsh/site-functions/_composer-cli
45
46
47
48 You will need to start a new shell for this setup to take effect.
49
50
51
53 -h, --help[=false] help for zsh
54
55
56 --no-descriptions[=false] disable completion descriptions
57
58
59
61 -a, --api=1 Server API Version to use
62
63
64 -j, --json[=false] Output the raw JSON response instead of the
65 normal output
66
67
68 --log="" Path to optional logfile
69
70
71 -s, --socket="/run/weldr/api.socket" Path to the server's socket
72 file
73
74
75 --test=0 Pass test mode to compose. 1=Mock compose with fail.
76 2=Mock compose with finished.
77
78
79 --timeout=240 Timeout to use for server communication. Set to 0
80 for no timeout
81
82
83
85 composer-cli-completion(1)
86
87
88
90 21-Jan-2023 Auto generated by spf13/cobra
91
92
93
94composer-cli Jan 2023 COMPOSER-CLI(1)