Commits

tuncer committed 00b2aec

Add get-deps and delete-deps to commands info and shell completion

Add get-deps and delete-deps to commands info string and
bash completion script.

  • Participants
  • Parent commits cd8312f

Comments (0)

Files changed (2)

File priv/shell-completion/bash/rebar

     sopts="-h -c -v -f -j"
     lopts=" --help --commands --verbose --force --jobs="
     cmdsnvars="analyze build_plt check_plt clean compile \
-        create-app create-node eunit generate \
-        install int_test perf_test test \
+        create-app create-node delete-deps eunit \
+        get-deps generate install int_test perf_test test \
         case= force=1 jobs= suite= verbose=1 appid= target= template="
 
     if [[ ${cur} == --* ]] ; then

File src/rebar_core.erl

     rebar_config:set_global(Flag, Value).
 
 %%
-%% print help
+%% print help and maybe halt execution
 %%
 print_help_maybe_halt(Options, NonOptArgs) ->
     case proplists:get_bool(help, Options) of
 "create-app                           Create simple app skel~n"
 "create-node                          Create simple node skel~n"
 "~n"
+"get-deps                             Fetch dependencies~n"
+"delete-deps                          Delete fetched dependencies~n"
+"~n"
 "generate    [dump_spec=0/1]          Build release with reltool~n"
 "install     [target=]                Install build into target~n"
 "~n"