Sha256: f05b875efd991f3b11e89d9458ae31c48c688d5c57e6cbfd2a2368869715a38c
Contents?: true
Size: 876 Bytes
Versions: 1
Compression:
Stored size: 876 Bytes
Contents
require 'thor' 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 :restart, :aliases => '-r', :type => :boolean, :default => true 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.1 | lib/travis/cli.rb |