in fact, every arg
and param
can have its own help
command({
help: "it's the best command, nobody makes commands like me",
args: [
arg("active").required(Boolean, {
help: "all systems go?",
}),
arg("count").default(Number, {
fallback: 101,
help: "number of dalmatians",
}),
arg("name").optional(String, {help: `
see this multi-line string?
it will be trimmed all nicely on the help page.
`}),
],
params: {
active: param.required(Boolean, {
help: "toggle this carefully!",
}),
count: param.default(Number, {
fallback: 101,
help: "classroom i'm late for",
}),
name: param.optional(String, {
help: "pick your pseudonym",
}),
verbose: param.flag("-v", {
help: "going loud",
}),
},
})