Top Level Namespace
Defined Under Namespace
Modules: Piston, Transat Classes: Range, String
Constant Summary collapse
- PISTON_ROOT =
File.dirname(__FILE__)
- PistonCommandLineProcessor =
Transat::Parser.new do program_name "Piston" version [Piston::VERSION::STRING] option :verbose, :short => :v, :default => true, :message => "Show subversion commands and results as they are executed" option :quiet, :short => :q, :default => false, :message => "Do not output any messages except errors" option :revision, :short => :r, :param_name => "REVISION", :type => :int option :show_updates, :short => :u, :message => "Query the remote repository for out of dateness information" option :lock, :short => :l, :message => "Close down and lock the imported directory from further changes" option :dry_run, :message => "Does not actually execute any commands" option :force, :message => "Force the command to run, even if Piston thinks it would cause a problem" command :switch, Piston::Commands::Switch, :valid_options => %w(lock dry_run force revision quiet verbose) command :update, Piston::Commands::Update, :valid_options => %w(lock dry_run force revision quiet verbose) command :diff, Piston::Commands::Diff, :valid_options => %w(lock dry_run force revision quiet verbose) command :import, Piston::Commands::Import, :valid_options => %w(lock dry_run force revision quiet verbose) command :convert, Piston::Commands::Convert, :valid_options => %w(lock verbose dry_run) command :unlock, Piston::Commands::Unlock, :valid_options => %w(force dry_run verbose) command :lock, Piston::Commands::Lock, :valid_options => %w(force dry_run revision verbose) command :status, Piston::Commands::Status, :valid_options => %w(show_updates verbose) end