summaryrefslogtreecommitdiff
path: root/src/rebar_prv_new.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-09-20 22:36:54 -0500
committerTristan Sloughter <t@crashfast.com>2014-09-20 22:36:54 -0500
commite1b1152b219cf65c7f8cd3b77db5cf2156fcbab7 (patch)
treee452a4e053afd186900b54fbff9a169f81dd3726 /src/rebar_prv_new.erl
parentc8772ff398e43a535d6c145ce3ed0d31952f907e (diff)
slowly widdling away at dialyzer errors
Diffstat (limited to 'src/rebar_prv_new.erl')
-rw-r--r--src/rebar_prv_new.erl32
1 files changed, 6 insertions, 26 deletions
diff --git a/src/rebar_prv_new.erl b/src/rebar_prv_new.erl
index ed3c1b4..a3182fd 100644
--- a/src/rebar_prv_new.erl
+++ b/src/rebar_prv_new.erl
@@ -22,7 +22,7 @@ init(State) ->
deps = ?DEPS,
example = "rebar new <template>",
short_desc = "Create new project from templates.",
- desc = info(create),
+ desc = info(),
opts = []}),
{ok, State1}.
@@ -45,29 +45,9 @@ do(State) ->
%% Internal functions
%% ===================================================================
-info(create) ->
+info() ->
io_lib:format(
- "Create skel based on template and vars.~n"
- "~n"
- "Valid command line options:~n"
- " template= [var=foo,...]~n", []);
-info(create_app) ->
- io_lib:format(
- "Create simple app skel.~n"
- "~n"
- "Valid command line options:~n"
- " [appid=myapp]~n", []);
-info(create_lib) ->
- io_lib:format(
- "Create simple lib skel.~n"
- "~n"
- "Valid command line options:~n"
- " [libid=mylib]~n", []);
-info(create_node) ->
- io_lib:format(
- "Create simple node skel.~n"
- "~n"
- "Valid command line options:~n"
- " [nodeid=mynode]~n", []);
-info(list_templates) ->
- io_lib:format("List available templates.~n", []).
+ "Create rebar project based on template and vars.~n"
+ "~n"
+ "Valid command line options:~n"
+ " template= [var=foo,...]~n", []).