Class: Vendra::CLI
- Inherits:
-
Thor
- Object
- Thor
- Vendra::CLI
- Includes:
- Thor::Actions
- Defined in:
- lib/vendra/cli.rb
Instance Method Summary collapse
Instance Method Details
#example ⇒ Object
9 10 11 12 |
# File 'lib/vendra/cli.rb', line 9 def example p "command called." create_file "~/.vendra/example.conf", "your vendra config" end |
#insert(value) ⇒ Object
14 15 16 17 |
# File 'lib/vendra/cli.rb', line 14 def insert(value) cache_piece = CachePiece.new(value) insert(cache_piece) end |