Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print namespaced commands in help #4

Merged
merged 1 commit into from
Dec 27, 2014

Conversation

ferd
Copy link
Contributor

@ferd ferd commented Dec 27, 2014

Prints this for rebar3, for example. default namespace is displayed first without the namespace, others come after in alphabetical order and a left margin:

as              Higher order provider for running multiple tasks in a sequence as a certain profiles.
clean           Remove compiled beam files from apps.
compile         Compile apps .app.src and .erl files.
ct              Run Common Tests
dialyzer        Run the Dialyzer analyzer on the project.
do              Higher order provider for running multiple tasks in a sequence.
eunit           Run eunit tests on project apps.
help            Display a list of tasks or help for a given task or subtask.
new             Create new project from templates.
pkgs            List available packages.
release         Build release of project.
shell           Run shell with project apps and deps in path.
tar             Tar archive of release built of project.
update          Update package index.
upgrade         Upgrade dependency.
version         Print version for rebar and current Erlang.

efene
  compile        efene rebar3 plugin

erlydtl
  compile        Compile erlydtl templates.

@tsloughter
Copy link
Owner

I wonder if we can make it clear how to run the namespace commands. Like instead of efene have efene <task>:

@ferd
Copy link
Contributor Author

ferd commented Dec 27, 2014

Amended to do that.

tsloughter added a commit that referenced this pull request Dec 27, 2014
Print namespaced commands in help
@tsloughter tsloughter merged commit e7e41e1 into tsloughter:master Dec 27, 2014
@ferd ferd deleted the namespaced-help branch December 27, 2014 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants