Sha256: e497378b7f2ca3fcadce7587e166eb751231e2c9f2cd4c5e1235d4a26343fdfa

Contents?: true

Size: 1.93 KB

Versions: 32

Compression:

Stored size: 1.93 KB

Contents

= <tt>gli</tt>

gli allows you to create the scaffolding for a GLI-powered application
    gli [global options] command_name [command-specific options] [--] arguments...

* Use the command +help+ to get a summary of commands
* Use the command <tt>help command_name</tt> to get a help for +command_name+
* Use <tt>--</tt> to stop command line argument processing; useful if your arguments have dashes in them

== Global Options
These options are available for any command and are specified before the name of the command

[<tt>-n</tt>] Dry run; dont change the disk
[<tt>-r, --root=arg</tt>] Root dir of project <i>( default: <tt>.</tt>)</i>

                          This is the directory where the projects directory will be made, so if you specify a project name foo and the root dir of ., the directory ./foo will be created

[<tt>-v</tt>] Be verbose
== Commands
[<tt>help</tt>] Shows list of commands or help for one command
[<tt>init</tt>] Create a new GLI-based project

=== <tt>help [command]</tt>

Shows list of commands or help for one command

Gets help for the application or its commands.  Can also list the commands in a way helpful to creating a bash-style completion function

==== Options
These options are specified *after* the command.

[<tt>-c, --completion</tt>] List all commands one line at a time, for use with shell completion ([command] argument is partial command to match)
=== <tt>init project_name [command[ command]*]</tt>

Create a new GLI-based project

*Aliases*
* <tt><b>scaffold</b></tt>

This will create a scaffold command line project that uses GLI
for command line processing.  Specifically, this will create
an executable ready to go, as well as a lib and test directory, all
inside the directory named for your project


==== Options
These options are specified *after* the command.

[<tt>-e, --ext</tt>] Create an ext dir
[<tt>--force</tt>] Overwrite/ignore existing files and directories
[<tt>--notest</tt>] Do not create a test dir

Version data entries

32 entries across 32 versions & 4 rubygems

Version Path
gli-2.0.0.rc5 gli.rdoc
brightbox-cli-0.18.1 lib/brightbox-cli/vendor/gli/gli.rdoc
gli-2.0.0.rc4 gli.rdoc
gli-2.0.0.rc3 gli.rdoc
brightbox-cli-0.18.0 lib/brightbox-cli/vendor/gli/gli.rdoc
gli-1.6.0 gli.rdoc
brightbox-cli-0.17.5 lib/brightbox-cli/vendor/gli/gli.rdoc
brightbox-cli-0.17.4 lib/brightbox-cli/vendor/gli/gli.rdoc
brightbox-cli-0.17.3 lib/brightbox-cli/vendor/gli/gli.rdoc
brightbox-cli-0.17.2 lib/brightbox-cli/vendor/gli/gli.rdoc
gli-1.5.1 gli.rdoc
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/gli/gli.rdoc
iisconfig-0.0.1.pre2 build/bundler/ruby/1.9.1/gems/gli-1.4.0/gli.rdoc
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/gli/gli.rdoc
iisconfig-0.0.1.pre1 build/bundler/ruby/1.9.1/gems/gli-1.4.0/gli.rdoc
gli-1.4.0 gli.rdoc
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/gli/gli.rdoc
gli-1.3.7 gli.rdoc
gli-1.3.6 gli.rdoc
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/gli/gli.rdoc