lib/ronin/ui/cli/commands/install.rb in ronin-1.4.1 vs lib/ronin/ui/cli/commands/install.rb in ronin-1.5.0.rc1

- old
+ new

@@ -44,21 +44,38 @@ # --[no-]git # # ## Arguments # # URI The URI of the Repository + # + # ## Examples + # + # ronin install git://github.com/user/repo.git + # ronin install --git git@example.com:/home/secret/repo # class Install < Command summary 'Installs Ronin Repositories' - option :rsync, :type => true - option :svn, :type => true - option :hg, :type => true - option :git, :type => true + option :rsync, :type => true, + :description => 'Install via rsync' + option :svn, :type => true, + :description => 'Install via SubVersion (SVN)' + + option :hg, :type => true, + :description => 'Install via Mercurial (Hg)' + + option :git, :type => true, + :description => 'Install via Git' + argument :uri, :type => String, :description => 'The URI of the Repository' + + examples [ + "ronin install git://github.com/user/repo.git", + "ronin install --git git@example.com:/home/secret/repo" + ] # # Sets up the install command. # def setup