lib/ronin/ui/cli/commands/install.rb in ronin-1.4.0.rc1 vs lib/ronin/ui/cli/commands/install.rb in ronin-1.4.0.rc2
- old
+ new
@@ -1,7 +1,7 @@
#
-# Copyright (c) 2006-2011 Hal Brodigan (postmodern.mod3 at gmail.com)
+# Copyright (c) 2006-2012 Hal Brodigan (postmodern.mod3 at gmail.com)
#
# This file is part of Ronin.
#
# Ronin is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -24,22 +24,41 @@
module Ronin
module UI
module CLI
module Commands
#
- # The `ronin-install` command.
+ # Installs Ronin {Repository Repositories}.
#
+ # ## Usage
+ #
+ # ronin install [options] URI
+ #
+ # ## Options
+ #
+ # -v, --[no-]verbose Enable verbose output.
+ # -q, --[no-]quiet Disable verbose output.
+ # --[no-]silent Silence all output.
+ # --[no-]color Enables color output.
+ # --[no-]rsync
+ # --[no-]svn
+ # --[no-]hg
+ # --[no-]git
+ #
+ # ## Arguments
+ #
+ # URI The URI of the Repository
+ #
class Install < Command
summary 'Installs Ronin Repositories'
option :rsync, :type => true
option :svn, :type => true
option :hg, :type => true
option :git, :type => true
- argument :uri, :type => String,
- :banner => '[URI|PATH]'
+ argument :uri, :type => String,
+ :description => 'The URI of the Repository'
#
# Sets up the install command.
#
def setup