Skip to content
Snippets Groups Projects

Draft: Resolve "Add bash completion helper function"

Closed orestis.malaspin requested to merge 3-add-bash-completion-helper-function into main
Files
2
@@ -9,6 +9,7 @@ import { stateConfigFile } from '../config/ConfigFiles';
@@ -9,6 +9,7 @@ import { stateConfigFile } from '../config/ConfigFiles';
import semver from 'semver/preload';
import semver from 'semver/preload';
import { version } from '../config/Version';
import { version } from '../config/Version';
import Config from '../config/Config';
import Config from '../config/Config';
 
import { writeBashCompletion } from '../helpers/AutoCompletionHelper';
class CommanderApp {
class CommanderApp {
@@ -43,6 +44,8 @@ class CommanderApp {
@@ -43,6 +44,8 @@ class CommanderApp {
this.registerCommands();
this.registerCommands();
 
writeBashCompletion(this.program, "bash_completion.sh")
 
this.program.parse();
this.program.parse();
}
}
Loading