Class: Toodledo::CommandLine::DeleteCommand
- Inherits:
-
CmdParse::Command
- Object
- CmdParse::Command
- Toodledo::CommandLine::DeleteCommand
- Defined in:
- lib/toodledo/command_line/delete_command.rb
Instance Method Summary collapse
-
#initialize(client) ⇒ DeleteCommand
constructor
A new instance of DeleteCommand.
Constructor Details
#initialize(client) ⇒ DeleteCommand
Returns a new instance of DeleteCommand.
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/toodledo/command_line/delete_command.rb', line 6 def initialize(client) super('delete', true) self.short_desc = "Deletes a context" self.add_command(DeleteContextCommand.new(client)) self.add_command(DeleteGoalCommand.new(client)) self.add_command(DeleteFolderCommand.new(client)) self.add_command(DeleteTaskCommand.new(client), true) end |