Resolve "Add zsh, fish, and bash shell completion helper function generation as well as the related command"
1 open thread
Compare changes
- orestis.malaspin authored
@@ -10,7 +10,7 @@ function computeDepth(cmd: Command | undefined): number {
@@ -10,7 +10,7 @@ function computeDepth(cmd: Command | undefined): number {
@@ -90,29 +90,30 @@ function generateCommandChain(cmd: Command | null): string {
@@ -90,29 +90,30 @@ function generateCommandChain(cmd: Command | null): string {
return `${prefix} ${computeHeigth(cmd)} ${generateCommandChain(cmd)}' -a "--${opt.name()}" -d "${opt.description}"`
return `${prefix} ${computeHeigth(cmd)} ${generateCommandChain(cmd)}' -a ${subCmd.name()} -d "${subCmd.description()}"`