class Cir::Cli::Command
Wrapper class describing general command
Attributes
args[RW]
Attributes for parsed command line arguments
files[RW]
Attributes for parsed command line arguments
global_args[RW]
Attributes for parsed command line arguments
Public Class Methods
new()
click to toggle source
Initiation of the object will get CIR_HOME
# File lib/cir/cli/command.rb, line 26 def initialize @cirHome = File.expand_path(ENV['CIR_HOME'] || "~/.cir/repository") end
Public Instance Methods
opts()
click to toggle source
Parameter parser for this command
# File lib/cir/cli/command.rb, line 32 def opts end
process()
click to toggle source
Process given command with both global and command specific arguments on top of given files
# File lib/cir/cli/command.rb, line 37 def process end