Class: Bcli::Commands::Bookmarks
- Inherits:
-
Thor
- Object
- Thor
- Bcli::Commands::Bookmarks
- Defined in:
- lib/bcli/commands/bookmarks.rb,
lib/bcli/commands/bookmarks/create.rb,
lib/bcli/commands/bookmarks/search.rb
Defined Under Namespace
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
25 26 27 28 29 30 31 32 |
# File 'lib/bcli/commands/bookmarks.rb', line 25 def create(*) if [:help] invoke :help, ["create"] else require_relative "bookmarks/create" Bcli::Commands::Bookmarks::Create.new().execute end end |
#search ⇒ Object
13 14 15 16 17 18 19 20 |
# File 'lib/bcli/commands/bookmarks.rb', line 13 def search if [:help] invoke :help, ["search"] else require_relative "bookmarks/search" Bcli::Commands::Bookmarks::Search.new().execute end end |