Method: Docman::CLI#deploy
- Defined in:
- lib/docman/cli.rb
#deploy(deploy_target, name, type, version) ⇒ Object
55 56 57 58 59 60 61 62 63 64 |
# File 'lib/docman/cli.rb', line 55 def deploy(deploy_target, name, type, version) get_to_root_dir if version.start_with?('state_') state = version.partition('_').last build(deploy_target, state) else result = Application.instance.deploy(deploy_target, name, type, version, ) say(result, :green) end end |