Class: PerfectWorld::Cli
- Inherits:
-
Object
- Object
- PerfectWorld::Cli
- Defined in:
- lib/perfect_world/cli.rb
Constant Summary collapse
- CONFIG =
Default config.
{ 'clipboard' => false, 'database' => File.('~/.pwm.yml.gpg'), 'force' => false, 'length' => 64 }
Instance Method Summary collapse
-
#initialize(config = {}) ⇒ Cli
constructor
Sets the config.
-
#run(commands) ⇒ Object
Loads the database and executes the provided commands.