Method: App42::Base::Help.appinfo

Defined in:
lib/app42/base/help.rb

.appinfoObject



546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
# File 'lib/app42/base/help.rb', line 546

def appinfo
  print <<-DESC
Usage:
  app42 appInfo

  Show the meta information of the application

Options:
  [--app APP]      # Name of app, you want to info

Example:
  $app42 appInfo
  Enter App Name: demo
  +--------------------------------+------------+-----------------+------+------------+----------------+---------------+--------+
  |                                                      === demo Info ===                                                      |
  +--------------------------------+------------+-----------------+------+------------+----------------+---------------+--------+
  | App Url                        | App Status | Iaas Provider   | Name | Runtime    | Instance Count | Framework     | Memory |
  +--------------------------------+------------+-----------------+------+------------+----------------+---------------+--------+
  | https://demo.iab.app42paas.com | RUNNING    | Amazon (Oregon) | demo | Ruby 2.0.0 | 1              | Ruby on Rack  | 256 MB |
  +--------------------------------+------------+-----------------+------+------------+----------------+---------------+--------+
 DESC
end