Sha256: 73def3f142bfe0c7cfcb3769b15c3714b96fe93a5387809347163f2e715ad26d
Contents?: true
Size: 815 Bytes
Versions: 1
Compression:
Stored size: 815 Bytes
Contents
require 'thor' $stdout.sync = true module Travis autoload :Keychain, 'travis/keychain' class Cli < Thor autoload :Config, 'travis/cli/config' autoload :Deploy, 'travis/cli/deploy' autoload :Helper, 'travis/cli/helper' namespace 'travis' desc 'config', 'Sync config between keychain, app and local working directory' method_option :backup, :aliases => '-b', :type => :boolean, :default => false def config(remote) Config.new(shell, remote, options).invoke end desc 'deploy', 'Deploy to the given remote' method_option :migrate, :aliases => '-m', :type => :boolean, :default => false method_option :configure, :aliases => '-c', :type => :boolean, :default => false def deploy(remote) Deploy.new(shell, remote, options).invoke end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
travis-cli-0.0.2 | lib/travis/cli.rb |