refactor!: Renamed nushell-completion command to completion nushell.

This commit is contained in:
2026-07-13 12:24:06 -04:00
parent 997f11b257
commit b0635e035c
5 changed files with 37 additions and 10 deletions
+8 -3
View File
@@ -49,6 +49,7 @@ Color_Mode :: enum {
Positional_Arg :: struct {
name: string,
ntype: string, // nushell type: "path", "string". "" defaults to "path"
completion: string,
optional: bool,
}
@@ -132,10 +133,14 @@ key somewhere, otherwise your data could be lost forever.`,
flags = GLOBAL_FLAGS,
},
{
name = "nushell-completion",
usage = "envr nushell-completion",
short = "Generate custom completions for nushell",
name = "completion",
usage = "envr completion <shell>",
short = "Generate shell completion scripts",
long = `Supported shells:
nushell`,
flags = {.Help},
args = {{name = "shell", ntype = "string", completion = "shells"}},
},
}