Sha256: 840d205d3e2ac201343fbfa84e9ae3cabeb0d65bf41ed1629f1354c0d6fa6a35

Contents?: true

Size: 694 Bytes

Versions: 5

Compression:

Stored size: 694 Bytes

Contents

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

      # @param  [String]
      # @return [String]
      desc 'board <id>',
           'Set the board <id> to default.'
      def board(id)
        say Commands::Default.dispatch(Board, id)
      end

      # @param  [String]
      # @return [String]
      desc 'card <id>',
           'Set the card <id> to default.'
      def card(id)
        say Commands::Default.dispatch(Card, id)
      end

      # @param  [String]
      # @return [String]
      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

5 entries across 5 versions & 1 rubygems

Version Path
troo-0.0.15 lib/troo/cli/default.rb
troo-0.0.14 lib/troo/cli/default.rb
troo-0.0.13 lib/troo/cli/default.rb
troo-0.0.12 lib/troo/cli/default.rb
troo-0.0.11 lib/troo/cli/default.rb