get-catalog

The get-catalog command displays information on a catalog. What catalog to display is determined by one of the options in the order below:

  1. By specifying the desired catalog with the command argument --catalogid
  2. By specifying the public catalog with the command argument --public
  3. Otherwise the catalog associated with the customer of the user running the command is used. If there is no catalog associated with the customer then the command will fail.

Help

get_catalog -h
usage: get-catalog [-h] [--catalogid CATALOGID] [--public]

optional arguments:
  -h, --help            show this help message and exit
  --catalogid CATALOGID
                        Catalog ID to retrieve, defaults to company catalog
  --public              Get public catalog

Example

get-catalog --public
Loading API environment
  API access validated
  API access key type is User, userId: 10
  Found public catalog, id= 10
  Found Company catalog, id= 11

Catalog:
  Id:            10
  Active:        True
  Customer Id:   -1
  Name:          ACME Public Catalog
  Description:
  Owner          Gary Forghetti
  Owner email:   gary.forghetti@acme.com
  Public:        True
  Number of Blueprints:   1
Blueprints:

+----+-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
| Id | Name                                                              | Description                                                                                                           |
+----+-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+
| 10 | Apache Web Server on Linux with AWS ELB and automation using Chef | Deploys an Apache Web Server on Linux with an AWS Elastic Load Balancer with auto scaling and auto healing using Chef |
+----+-------------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------------------+