Sha256: 542ca2a711366e6bd1ee18c2ca3305c7e33bb9b282e99c3d5ba1b5b8819b429a
Contents?: true
Size: 751 Bytes
Versions: 13
Compression:
Stored size: 751 Bytes
Contents
module Spontaneous module Cli class Sync < ::Thor include Spontaneous::Cli::TaskUtils namespace :sync default_task :down class SyncTask < ::Thor::Group protected def arse(n) puts 'arse '+n end end class Down < SyncTask desc "Syncs down" def one arse('one') end def two arse('two') end end class Up < SyncTask desc "Syncs up" end desc "down", "Makes the local copy a clone of the production server" def down Down.start end desc "up", "Makes the local copy a clone of the production server" def up Down.start end end end end
Version data entries
13 entries across 13 versions & 1 rubygems