Sha256: 01bcf1a67a291cef2418777623bc7a23254b4546a77e0277b05bc626524a7dea

Contents?: true

Size: 739 Bytes

Versions: 1

Compression:

Stored size: 739 Bytes

Contents

module Troo
  module CLI
    class Refresh < ThorFixes
      package_name 'refresh'

      desc 'all',
           'Refresh all the local data.'
      def all
        say Commands::Refresh::All.dispatch
      end

      desc 'board (<id>)',
           'Refresh the default board or board with <id>.'
      def board(id = nil)
        say Commands::Refresh::Board.dispatch(id)
      end

      desc 'card (<id>)',
           'Refresh the default card or card with <id>.'
      def card(id = nil)
        say Commands::Refresh::Card.dispatch(id)
      end

      desc 'list (<id>)',
           'Refresh the default list or list with <id>.'
      def list(id = nil)
        say Commands::Refresh::List.dispatch(id)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
troo-0.0.8 lib/troo/cli/refresh.rb