Sha256: 6b37eb7d39b521d8169f8acefd69a7b6392189321d15426e28851d56560bb696
Contents?: true
Size: 755 Bytes
Versions: 2
Compression:
Stored size: 755 Bytes
Contents
module Troo module CLI class Refresh < ThorFixes package_name 'refresh' desc 'all', 'Refresh all the local data.' def all say Commands::RefreshAll.dispatch end desc 'board (<id>)', 'Refresh the default board or board with <id>.' def board(id = nil) say Commands::Refresh.dispatch(Troo::Board, id) end desc 'card (<id>)', 'Refresh the default card or card with <id>.' def card(id = nil) say Commands::Refresh.dispatch(Troo::Card, id) end desc 'list (<id>)', 'Refresh the default list or list with <id>.' def list(id = nil) say Commands::Refresh.dispatch(Troo::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/refresh.rb |
troo-0.0.9 | lib/troo/cli/refresh.rb |