MCPcopy Create free account
hub / github.com/dropbox/dbxcli / powershellCompletionLong

Function powershellCompletionLong

cmd/completion.go:172–182  ·  view source on GitHub ↗
(programName string)

Source from the content-addressed store, hash-verified

170}
171
172func powershellCompletionLong(programName string) string {
173 return fmt.Sprintf(`Generate the autocompletion script for powershell.
174
175To load completions in your current shell session:
176
177 %[1]s completion powershell | Out-String | Invoke-Expression
178
179To load completions for every new session, add the output of the above command
180to your powershell profile.
181`, programName)
182}
183
184func init() {
185 RootCmd.AddCommand(newCompletionCmd())

Callers 1

newCompletionCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected