grisp / rebar3_grisp

Rebar plug-in for GRiSP
https://www.grisp.org
Apache License 2.0
21 stars 10 forks source link

Fix package command behaviour #89

Closed ziopio closed 3 days ago

ziopio commented 3 days ago

Print the help text if no subtask is provided

% rebar3 grisp package     
===> Analyzing applications...
===> Compiling grisp_tools
===> Compiling textual
===> Compiling grid
===> Compiling rebar3_grisp
===> Analyzing applications...
===> Compiling grisp_tools
===> Compiling textual
===> Compiling grid
===> Compiling rebar3_grisp
Pre-built packages tasks

Commands:
  list          List packages

Usage: rebar3 grisp package [-p [<platform>]] [-c <columns>] [-t [<type>]]
                            [-c [<cached>]]

  -p, --platform  Platform to list packages for [default: grisp2]
  -c, --columns   List columns to display
  -t, --type      Package type [default: otp]
  -c, --cached    List only cached packages [default: false]

Fixes https://github.com/grisp/rebar3_grisp/issues/77