Creates bash completion script.
Creates completion script for specified program, returning the script contents. You need to create it once, and save the script in directory like /etc/bash_completion.d/ during installation.
Generated completion script contents.
1 import std.file : write; 2 import std.string : format; 3 import commandr; 4 5 auto prog = new Program("test"); 6 std.file.write("%s.bash".format(prog.binaryName), createBashCompletionScript(prog));
See Implementation
Creates bash completion script.
Creates completion script for specified program, returning the script contents. You need to create it once, and save the script in directory like /etc/bash_completion.d/ during installation.