create-public-catalog

The create-public-catalog command creates a public catalog.

Note

Creating a public catalog requires manage public catalog admin authority. Refer to Catalogs for more details. You can check to see if a public catalog has been created by issuing the testenv command.

Help

create-public-catalog -h
usage: Creates a public catalog [-h] [--displayname DISPLAYNAME]
                                [--description DESCRIPTION]
                                [--ownername OWNERNAME]
                                [--owneremail OWNEREMAIL]
                                [--resultpath RESULTPATH]

optional arguments:
  -h, --help            show this help message and exit
  --displayname DISPLAYNAME
                        Catalog display name, defaults to frontend config
                        (frontend.product.shortName)
  --description DESCRIPTION
                        Optional description text for the catalog.
  --ownername OWNERNAME
                        Owner name for of catalog. Defaults to frontend config
                        (frontend.product.provider)
  --owneremail OWNEREMAIL
                        Email address of owner of catalog. Defaults to
                        frontend config (frontend.product.feedbackEmail)
  --resultpath RESULTPATH
                        Path to write new catalog ID to

Example

create-public-catalog --displayname "ACME Public Catalog" --description "ACME Catalog for public blueprints" --ownername "Gary Forghetti" --owneremail gary.forghetti@acme.com
Loading API environment
  API access validated
  API access key type is User, userId: 10
Public catalog created, id: 10
   Display name:  ACME Public Catalog
   Description :  ACME Catalog for public blueprints
   Owner Name  :  Gary Forghetti
   Owner Email :  gary.forghetti@acme.com