Class: Epi::Cli::Commands::Config
- Inherits:
-
Epi::Cli::Command
- Object
- Epi::Cli::Command
- Epi::Cli::Commands::Config
- Defined in:
- lib/epi/cli/commands/config.rb
Instance Attribute Summary
Attributes inherited from Epi::Cli::Command
Instance Method Summary collapse
Methods inherited from Epi::Cli::Command
Constructor Details
This class inherits a constructor from Epi::Cli::Command
Instance Method Details
#run ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/epi/cli/commands/config.rb', line 6 def run case args.shift when 'add' then add when 'remove' then remove else raise Exceptions::Fatal, 'Unknown config command, use [ add | remove ]' end end |