fix: linter - split long line to avoid golines issue
This commit is contained in:
parent
211275bcee
commit
57d137b0c5
1 changed files with 6 additions and 2 deletions
|
|
@ -127,8 +127,12 @@ func rootCompleteArgs(cmd *cobra.Command, args []string, toComplete string) ([]s
|
||||||
return nil, cobra.ShellCompDirectiveNoFileComp
|
return nil, cobra.ShellCompDirectiveNoFileComp
|
||||||
}
|
}
|
||||||
|
|
||||||
// Also include built-in commands
|
// Also include built-in commands for shell completion
|
||||||
builtIn := []string{"onboard", "agent", "auth", "gateway", "status", "cron", "migrate", "skills", "plugins", "version"}
|
builtIn := []string{
|
||||||
|
"onboard", "agent", "auth", "gateway",
|
||||||
|
"status", "cron", "migrate", "skills",
|
||||||
|
"plugins", "version",
|
||||||
|
}
|
||||||
|
|
||||||
// Combine both lists
|
// Combine both lists
|
||||||
result := append(builtIn, pluginList...)
|
result := append(builtIn, pluginList...)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue