Usage: {{apic apis:pull}} API_NAME[:VERSION] [CATALOG_OPTIONS | SPACE_OPTIONS]

  Pull an API from a catalog or space

  Options for catalog scope
    --{{scope catalog}}                       (default)
    -{{c}}, --{{catalog}} CATALOG             catalog name (required)
    -{{o}}, --{{organization}} ORGANIZATION   provider organization name (required)
    -{{s}}, --{{server}} SERVER               management server endpoint (required)

  Options for space scope
    --{{scope space}}
    --{{space}} SPACE                         space name (required)
    -{{c}}, --{{catalog}} CATALOG             catalog name (required)
    -{{o}}, --{{organization}} ORGANIZATION   provider organization name (required)
    -{{s}}, --{{server}} SERVER               management server endpoint (required)

  Stability: prototype

  Pull API from a catalog
    {{$ apic apis:pull routes --catalog production --organization climbonorg --server mgmnthost.com}}
    Pulled {{routes:1.0.0}} API definition from {{climbonorg:production [routes.yaml]}}

    {{$ apic apis:pull globalweather --catalog production --organization climbonorg --server mgmnthost.com}}
    Pulled {{globalweather:1.0.0}} API definition from {{climbonorg:production [globalweather_1.0.0.yaml]}}
    Pulled {{globalweather:1.0.0}} API WSDL definition from {{climbonorg:production [globalweather_1.0.0.wsdl]}}

  Pull API from a space
    {{$ apic apis:pull --scope space --space sp1 --catalog production --organization climbonorg --server mgmnthost.com routes}}
    Pulled {{routes:1.0.0}} API definition from {{climbonorg:production:sp1 [routes.yaml]}}

    {{$ apic apis:pull --scope space --space sp1 --catalog production --organization climbonorg --server mgmnthost.com globalweather}}
    Pulled {{globalweather:1.0.0}} API definition from {{climbonorg:production:sp1 [globalweather_1.0.0.yaml]}}
    Pulled {{globalweather:1.0.0}} API WSDL definition from {{climbonorg:production:sp1 [globalweather_1.0.0.wsdl]}}
