Class: CmdDeploy
- Inherits:
-
Cmd
show all
- Defined in:
- lib/punt/cmd/cmd_deploy.rb
Instance Method Summary
collapse
Methods inherited from Cmd
#name, #options, #setup, #summary, tag
Instance Method Details
#run(argv) ⇒ Object
9
10
11
12
13
14
15
|
# File 'lib/punt/cmd/cmd_deploy.rb', line 9
def run(argv)
opts = parse_opts(argv)
env = argv.shift
repo_ref = argv.shift
Deploy.new.deploy(env: env, repo_ref: repo_ref, dry_run: opts[:dry_run], verbose: opts[:verbose], force_local: opts[:force_local])
end
|