Permalink
Browse files

help of CLI

  • Loading branch information...
1 parent 23ca1fe commit 1a40c3eaff5922f40193dbe008d39fd66ab54ac8 @shibayu36 shibayu36 committed Jul 21, 2013
Showing with 19 additions and 1 deletion.
  1. +18 −0 bin/cinnamon
  2. +1 −1 lib/Cinnamon/CLI.pm
View
@@ -5,3 +5,21 @@ use Cinnamon::CLI;
my $exit_status = Cinnamon::CLI->new->run(@ARGV);
exit $exit_status;
+
+__END__
+
+=encoding utf8
+
+=head1 NAME
+
+cinnamon - Command Line Interface for Deploy with Cinnamon
+
+=head1 USAGE
+
+ $ cinnamon [options...] <role> <task ...>
+
+ -h --help Display help
+ -i --info Display a definition of Role and Task
+ -c --config Config path
+ -s --set Override parameters which we can get from "get" method provided Cinnamon::DSL
+ -I --ignore-errors Cinnamon execute all task, if error occur during execution
View
@@ -78,7 +78,7 @@ sub run {
sub usage {
my $self = shift;
my $msg = <<"HELP";
-Usage: cinnamon [--config=<path>] [--help] [--info] <role> <task ...>
+Usage: cinnamon [--config=<path>] [--set=<parameter>] [--ignore-errors] [--help] [--info] <role> <task ...>
HELP
$self->print($msg);
}

0 comments on commit 1a40c3e

Please sign in to comment.