Class: ArisControl::Thor
- Inherits:
-
Thor
- Object
- Thor
- ArisControl::Thor
- Defined in:
- lib/aris-control/thor.rb
Instance Method Summary collapse
Instance Method Details
#add(name) ⇒ Object
9 10 11 12 13 14 |
# File 'lib/aris-control/thor.rb', line 9 def add(name) bookkeeper.add(name: name, **) puts "Added/Updated user: #{name}, #{}" puts "-----------------------------" print_current_aris_users end |
#delete(name) ⇒ Object
17 18 19 20 21 22 |
# File 'lib/aris-control/thor.rb', line 17 def delete(name) bookkeeper.delete(name) puts "Removed user: #{name}" puts "-----------------------------" print_current_aris_users end |
#list ⇒ Object
25 26 27 |
# File 'lib/aris-control/thor.rb', line 25 def list print_current_aris_users end |