File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed
Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ __bob_complete_dir()
2929 compgen -d -P "$2" -S / -- "$1" ) )
3030}
3131
32- __bob_commands="build dev clean graph help jenkins ls project status query-scm \
33- query-recipe query-path query-meta show"
32+ __bob_commands="build dev clean graph help init jenkins ls project status \
33+ query-scm query- recipe query-path query-meta show"
3434
3535# Complete a Bob path
3636#
@@ -162,6 +162,18 @@ __bob_ls()
162162 __bob_complete_path "-a --all -c -D -d --direct --no-sandbox -o --origin -p --prefixed -r --recursive --sandbox -u --unsorted"
163163}
164164
165+ __bob_init()
166+ {
167+ case "$cur" in
168+ -*)
169+ __bob_complete_words "-h --help"
170+ ;;
171+ *)
172+ __bob_complete_dir "$cur"
173+ ;;
174+ esac
175+ }
176+
165177__bob_jenkins_add()
166178{
167179 sandbox="--sandbox"
You can’t perform that action at this time.
0 commit comments