Sha256: 1847d4da9f7b0c725035246a913f3b95c7d23239758aefe4961c49c1eac20467

Contents?: true

Size: 544 Bytes

Versions: 2

Compression:

Stored size: 544 Bytes

Contents

module Troo
  module CLI
    class Default < ThorFixes
      package_name 'default'

      desc 'board <id>',
           'Set the board <id> to default.'
      def board(id)
        say Commands::Default.dispatch(Board, id)
      end

      desc 'card <id>',
           'Set the card <id> to default.'
      def card(id)
        say Commands::Default.dispatch(Card, id)
      end

      desc 'list <id>',
           'Set the list <id> to default.'
      def list(id)
        say Commands::Default.dispatch(List, id)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
troo-0.0.10 lib/troo/cli/default.rb
troo-0.0.9 lib/troo/cli/default.rb