Method: VMC::Cli::Command::Apps#map
- Defined in:
- lib/cli/commands/apps.rb
#map(appname, url) ⇒ Object
171 172 173 174 175 176 177 178 |
# File 'lib/cli/commands/apps.rb', line 171 def map(appname, url) app = client.app_info(appname) uris = app[:uris] || [] uris << url app[:uris] = uris client.update_app(appname, app) display "Successfully mapped url".green end |