Sha256: b7fc3bfb296907a2dc1c317b88cf2e36711fb458236b6cbf8fb5a06629e8881d
Contents?: true
Size: 933 Bytes
Versions: 3
Compression:
Stored size: 933 Bytes
Contents
require 'commands/create' require 'commands/init' require 'commands/sync' require 'commands/start' require 'commands/refresh' require 'commands/rename' require 'commands/remove' require 'commands/list' require 'thor' module CommandRouter include Util class Main < Thor register(Init, 'init', 'init [project_name]', 'Initializes a new project.') register(Create, 'create', 'create [presentation_name]', 'Creates a new presentation') register(Sync, 'sync', 'sync [name]', 'syncs master and client.') register(Start,'start','start [presentation_name]','starts a presentation-server.') register(Refresh,'refresh','refresh [presentation_name]','refreshes the token') register(Remove,'remove','remove [presentation_name]', 'removes a presentation') register(Rename,'rename','rename [old_name] [new_name]', 'renames a presentation') register(List,'list','list','lists all presentations.') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
slidemgr-1.0.3 | lib/command_router.rb |
slidemgr-1.0.2 | lib/command_router.rb |
slidemgr-1.0.1 | lib/command_router.rb |