Created
November 7, 2016 12:05
-
-
Save hairyhum/d1dc628670f34c468787f2519195d16f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-module('Elixir.RabbitMQ.CLI.Ctl.Commands.DummyCommand'). | |
-behaviour('Elixir.RabbitMQ.CLI.CommandBehaviour'). | |
-export([ | |
usage/0 | |
,flags/0 | |
,validate/2 | |
,merge_defaults/2 | |
,banner/2 | |
,run/2 | |
,switches/0 | |
,aliases/0 | |
,output/2 | |
]). | |
usage() -> <<"No usage">>. | |
flags() -> []. | |
validate(_,_) -> ok. | |
merge_defaults(A,O) -> {A, O}. | |
banner(_,_) -> <<"NO banner">>. | |
run(Args, Opts) -> io:format("~p~n", [Args]), {ok, Opts}. | |
switches() -> []. | |
aliases() -> []. | |
output(D, _) -> D. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment