Class: Commands::New
- Inherits:
-
Object
- Object
- Commands::New
- Defined in:
- lib/commands/new.rb
Overview
Command to get NotionTask version
Instance Method Summary collapse
-
#initialize(args, options) ⇒ New
constructor
A new instance of New.
- #run ⇒ Object
Constructor Details
Instance Method Details
#run ⇒ Object
17 18 19 |
# File 'lib/commands/new.rb', line 17 def run puts @api.new_task(@args.join(" ")) end |