Class: TrelloCli::CLI::Commands::Card

Inherits:
Object
  • Object
show all
Includes:
Shared
Defined in:
lib/trello_cli/cli/commands/card.rb

Instance Method Summary collapse

Methods included from Shared

#actions, #ensure_credential_envs_set, #help, #shared_methods, #target_name

Instance Method Details

#createObject



8
9
10
11
# File 'lib/trello_cli/cli/commands/card.rb', line 8

def create
  ensure_credential_envs_set
  TrelloCli::CLI::Card::Create.new.run
end

#listObject



13
14
15
16
# File 'lib/trello_cli/cli/commands/card.rb', line 13

def list
  ensure_credential_envs_set
  TrelloCli::CLI::Card::List.new.run
end

#moveObject



18
19
20
21
# File 'lib/trello_cli/cli/commands/card.rb', line 18

def move
  ensure_credential_envs_set
  TrelloCli::CLI::Card::Move.new.run
end