npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

anypoint-cli-exchange-plugin

v1.0.6

Published

exchange plugin

Downloads

20,495

Readme

@mulesoft/exchange

oclif Version Downloads/week License

Usage

$ npm install -g @mulesoft/anypoint-cli-exchange-plugin
$ anypoint-cli-exchange-plugin COMMAND
running command...
$ anypoint-cli-exchange-plugin (--version)
@mulesoft/anypoint-cli-exchange-plugin/0.4.0 darwin-x64 node-v16.14.2
$ anypoint-cli-exchange-plugin --help [COMMAND]
USAGE
  $ anypoint-cli-exchange-plugin COMMAND
...

Commands

anypoint-cli-exchange-plugin conf [KEY] [VALUE]

Manage authentication credentials in a configuration file (config.json)

USAGE
  $ anypoint-cli-exchange-plugin conf [KEY] [VALUE] [-h] [-k <value>] [-v <value>] [-d]

ARGUMENTS
  KEY    key of the config
  VALUE  value of the config

FLAGS
  -d, --delete         delete config key
  -h, --help           Show CLI help.
  -k, --key=<value>    key of the config
  -v, --value=<value>  value of the config

DESCRIPTION
  Manage authentication credentials in a configuration file (config.json)
  by adding and removing key value pairs. Set one key value pair per command execution.
  CLI config file: ~/Library/Preferences/anypoint-cli-v4-nodejs/config.json

EXAMPLES
  $ anypoint-cli-exchange-plugin conf username myuser

  $ anypoint-cli-exchange-plugin conf password mypwd

anypoint-cli-exchange-plugin exchange:asset:copy SOURCE TARGET

Copy an asset. Arguments "source" and "target" should be formatted as follows: ([group_id]/)<asset_id>/. If "group_id" is not specified, it will default to the currently selected Organization ID.

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:copy [SOURCE] [TARGET] [--password <value> [--username <value> |
    --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization <value>] [--environment
    <value>] [--host <value>] [--collectMetrics] [-h] [-t <value>]

FLAGS
  -h, --help                          Show CLI help.
  -t, --targetOrganizationId=<value>  Target organization id
  --bearer=<value>                    Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --client_id=<value>                 Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>             Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment
                                      variable.
  --collectMetrics                    collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --environment=<value>               Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --host=anypoint.mulesoft.com        [default: anypoint.mulesoft.com] Host URL. You can define this in the
                                      ANYPOINT_HOST environment variable.
  --organization=<value>              Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --password=<value>                  Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --username=<value>                  Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  Copy an asset. Arguments "source" and "target" should be formatted as follows: ([group_id]/)<asset_id>/<version>. If
  "group_id" is not specified, it will default to the currently selected Organization ID.

See code: src/commands/exchange/asset/copy.ts

anypoint-cli-exchange-plugin exchange:asset:delete ASSETIDENTIFIER

Delete an asset. Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/. If "group_id" is not specified, it will default to the currently selected Organization ID.

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:delete [ASSETIDENTIFIER] [--password <value> [--username <value> |
    --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization <value>] [--environment
    <value>] [--host <value>] [--collectMetrics] [-h] [-f]

FLAGS
  -f, --force
  -h, --help                    Show CLI help.
  --bearer=<value>              Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --client_id=<value>           Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>       Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
  --collectMetrics              collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --environment=<value>         Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --host=anypoint.mulesoft.com  [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
                                environment variable.
  --organization=<value>        Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --password=<value>            Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --username=<value>            Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  Delete an asset. Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/<version>. If
  "group_id" is not specified, it will default to the currently selected Organization ID.

See code: src/commands/exchange/asset/delete.ts

anypoint-cli-exchange-plugin exchange:asset:deprecate ASSETIDENTIFIER

Deprecate an asset. Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/. If "group_id" is not specified, it will default to the currently selected Organization ID

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:deprecate [ASSETIDENTIFIER] [--password <value> [--username <value> |
    --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization <value>] [--environment
    <value>] [--host <value>] [--collectMetrics] [-h]

FLAGS
  -h, --help                    Show CLI help.
  --bearer=<value>              Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --client_id=<value>           Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>       Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
  --collectMetrics              collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --environment=<value>         Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --host=anypoint.mulesoft.com  [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
                                environment variable.
  --organization=<value>        Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --password=<value>            Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --username=<value>            Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  Deprecate an asset. Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/<version>. If
  "group_id" is not specified, it will default to the currently selected Organization ID

See code: src/commands/exchange/asset/deprecate.ts

anypoint-cli-exchange-plugin exchange:asset:describe ASSETIDENTIFIER

Show a given asset's information. Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/. If "group_id" is not specified, it will default to the currently selected Organization ID.

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:describe [ASSETIDENTIFIER] [--password <value> [--username <value> |
    --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization <value>] [--environment
    <value>] [--host <value>] [--collectMetrics] [-h] [-o <value>]

FLAGS
  -h, --help                    Show CLI help.
  -o, --output=<value>          [default: table] Format for commands output. Supported values are table (default) and
                                json
  --bearer=<value>              Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --client_id=<value>           Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>       Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
  --collectMetrics              collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --environment=<value>         Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --host=anypoint.mulesoft.com  [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
                                environment variable.
  --organization=<value>        Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --password=<value>            Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --username=<value>            Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  Show a given asset's information. Argument "assetIdentifier" should be formatted as follows:
  ([group_id]/)<asset_id>/<version>. If "group_id" is not specified, it will default to the currently selected
  Organization ID.

See code: src/commands/exchange/asset/describe.ts

anypoint-cli-exchange-plugin exchange:asset:download [ASSETIDENTIFIER] [DIRECTORY]

Download an asset to the specified directory. Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/. If "group_id" is not specified, it will default to the currently selected Organization ID.

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:download [ASSETIDENTIFIER] [DIRECTORY] [--password <value> [--username
    <value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization <value>]
    [--environment <value>] [--host <value>] [--collectMetrics] [-h] [-f]

FLAGS
  -f, --force
  -h, --help                    Show CLI help.
  --bearer=<value>              Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --client_id=<value>           Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>       Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
  --collectMetrics              collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --environment=<value>         Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --host=anypoint.mulesoft.com  [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
                                environment variable.
  --organization=<value>        Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --password=<value>            Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --username=<value>            Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  Download an asset to the specified directory. Argument "assetIdentifier" should be formatted as follows:
  ([group_id]/)<asset_id>/<version>. If "group_id" is not specified, it will default to the currently selected
  Organization ID.

See code: src/commands/exchange/asset/download.ts

anypoint-cli-exchange-plugin exchange:asset:list [SEARCHTEXT]

Lists all assets

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:list [SEARCHTEXT] [--password <value> [--username <value> | --client_id
    <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization <value>] [--environment <value>]
    [--host <value>] [--collectMetrics] [-h] [--organizationId <value>] [-l <value>] [-o <value>] [-o <value>]

FLAGS
  -h, --help                    Show CLI help.
  -l, --limit=<value>           [default: 10] Number of results to retrieve
  -o, --offset=<value>          Offset
  -o, --output=<value>          [default: table] Format for commands output. Supported values are table (default) and
                                json
  --bearer=<value>              Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --client_id=<value>           Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>       Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
  --collectMetrics              collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --environment=<value>         Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --host=anypoint.mulesoft.com  [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
                                environment variable.
  --organization=<value>        Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --organizationId=<value>      Filter by organization id
  --password=<value>            Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --username=<value>            Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  Lists all assets

See code: src/commands/exchange/asset/list.ts

anypoint-cli-exchange-plugin exchange:asset:modify ASSETIDENTIFIER

Modify an asset. Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/. If "group_id" is not specified, it will default to the currently selected Organization ID.

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:modify [ASSETIDENTIFIER] [--password <value> [--username <value> |
    --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization <value>] [--environment
    <value>] [--host <value>] [--collectMetrics] [-h] [-n <value>] [-t <value>]

FLAGS
  -h, --help                    Show CLI help.
  -n, --name=<value>            New asset name
  -t, --tags=<value>            Asset comma-separated tags list
  --bearer=<value>              Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --client_id=<value>           Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>       Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
  --collectMetrics              collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --environment=<value>         Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --host=anypoint.mulesoft.com  [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
                                environment variable.
  --organization=<value>        Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --password=<value>            Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --username=<value>            Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  Modify an asset. Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/<version>. If
  "group_id" is not specified, it will default to the currently selected Organization ID.

See code: src/commands/exchange/asset/modify.ts

anypoint-cli-exchange-plugin exchange:asset:mutableDataUpload ASSETIDENTIFIER [PROPERTIES]

Uploads mutable data (tags, categories, fields and documentation) to an already created asset. Basic example to upload mutable data: exchange asset mutableData --tags tag1,tag2 --categories.someKey someValue --docs /..../file-path/docs.zip asset-id/1.0.0. Describing the asset. Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/. If "group_id" is not specified, it will default to the currently selected Organization ID.

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:mutableDataUpload [ASSETIDENTIFIER] [PROPERTIES] [--password <value> [--username
    <value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization <value>]
    [--environment <value>] [--host <value>] [--collectMetrics] [-h] [--tags <value>] [--categories <value>] [--fields
    <value>] [--docs <value>]

FLAGS
  -h, --help                    Show CLI help.
  --bearer=<value>              Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --categories=<value>          Categories. Should be used as --categories='{"someKey": "someValue"}'
  --client_id=<value>           Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>       Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
  --collectMetrics              collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --docs=<value>                Docs file. (Should specify the the "zip" file path. E.g. "--docs
                                /.../file-path/docs.zip")
  --environment=<value>         Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --fields=<value>              Custom Fields. Should be used as --fields='{"someKey": "someValue"}'
  --host=anypoint.mulesoft.com  [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
                                environment variable.
  --organization=<value>        Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --password=<value>            Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --tags=<value>                Tags. Should be used as a comma separated list. E.g. "tag1,tag2,tag3"
  --username=<value>            Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  Uploads mutable data (tags, categories, fields and documentation) to an already created asset. Basic example to upload
  mutable data: exchange asset mutableData --tags tag1,tag2 --categories.someKey someValue --docs
  /..../file-path/docs.zip asset-id/1.0.0. Describing the asset. Argument "assetIdentifier" should be formatted as
  follows: ([group_id]/)<asset_id>/<version>. If "group_id" is not specified, it will default to the currently selected
  Organization ID.
  To learn more about the creation endpoint visit https://anypoint.mulesoft.com/exchange/portals/anypoint-platform/f1e97
  bc6-315a-4490-82a7-23abe036327a.anypoint-platform/exchange-experience-api/minor/2.0/pages/Asset%20Creation/

See code: src/commands/exchange/asset/mutableDataUpload.ts

anypoint-cli-exchange-plugin exchange:asset:page:delete ASSETIDENTIFIER [PAGENAME]

Delete an asset's description page. Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/. If "group_id" is not specified, it will default to the currently selected Organization ID.

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:page:delete [ASSETIDENTIFIER] [PAGENAME] [--password <value> [--username <value>
    | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization <value>]
    [--environment <value>] [--host <value>] [--collectMetrics] [-h] [-n <value>] [-f]

FLAGS
  -f, --force
  -h, --help                    Show CLI help.
  -n, --name=<value>            name to print
  --bearer=<value>              Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --client_id=<value>           Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>       Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
  --collectMetrics              collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --environment=<value>         Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --host=anypoint.mulesoft.com  [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
                                environment variable.
  --organization=<value>        Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --password=<value>            Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --username=<value>            Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  Delete an asset's description page. Argument "assetIdentifier" should be formatted as follows:
  ([group_id]/)<asset_id>/<version>. If "group_id" is not specified, it will default to the currently selected
  Organization ID.

See code: src/commands/exchange/asset/page/delete.ts

anypoint-cli-exchange-plugin exchange:asset:page:download ASSETIDENTIFIER DIRECTORY [PAGENAME]

Download an asset's description page in Markdown format. When "pageName" is not specified, all pages are downloaded. Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/. If "group_id" is not specified, it will default to the currently selected Organization ID.

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:page:download [ASSETIDENTIFIER] [DIRECTORY] [PAGENAME] [--password <value>
    [--username <value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization
    <value>] [--environment <value>] [--host <value>] [--collectMetrics] [-h]

FLAGS
  -h, --help                    Show CLI help.
  --bearer=<value>              Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --client_id=<value>           Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>       Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
  --collectMetrics              collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --environment=<value>         Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --host=anypoint.mulesoft.com  [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
                                environment variable.
  --organization=<value>        Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --password=<value>            Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --username=<value>            Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  Download an asset's description page in Markdown format. When "pageName" is not specified, all pages are downloaded.
  Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/<version>. If "group_id" is not
  specified, it will default to the currently selected Organization ID.

See code: src/commands/exchange/asset/page/download.ts

anypoint-cli-exchange-plugin exchange:asset:page:list ASSETIDENTIFIER

List all pages for a given asset. Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/. If "group_id" is not specified, it will default to the currently selected Organization ID.

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:page:list [ASSETIDENTIFIER] [--password <value> [--username <value> |
    --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization <value>] [--environment
    <value>] [--host <value>] [--collectMetrics] [-h] [-o <value>]

FLAGS
  -h, --help                    Show CLI help.
  -o, --output=<value>          [default: table] Format for commands output. Supported values are table (default) and
                                json
  --bearer=<value>              Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --client_id=<value>           Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>       Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
  --collectMetrics              collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --environment=<value>         Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --host=anypoint.mulesoft.com  [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
                                environment variable.
  --organization=<value>        Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --password=<value>            Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --username=<value>            Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  List all pages for a given asset. Argument "assetIdentifier" should be formatted as follows:
  ([group_id]/)<asset_id>/<version>. If "group_id" is not specified, it will default to the currently selected
  Organization ID.

See code: src/commands/exchange/asset/page/list.ts

anypoint-cli-exchange-plugin exchange:asset:page:modify ASSETIDENTIFIER PAGENAME

Modify an asset's description page name. Renames page specified with --name to the new name . The page name "home" makes a page the main description page. Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/. If "group_id" is not specified, it will default to the currently selected Organization ID.

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:page:modify [ASSETIDENTIFIER] [PAGENAME] -n <value> [--password <value>
    [--username <value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization
    <value>] [--environment <value>] [--host <value>] [--collectMetrics] [-h] [-f]

FLAGS
  -f, --force
  -h, --help                    Show CLI help.
  -n, --name=<value>            (required) New asset page name
  --bearer=<value>              Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --client_id=<value>           Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>       Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
  --collectMetrics              collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --environment=<value>         Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --host=anypoint.mulesoft.com  [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
                                environment variable.
  --organization=<value>        Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --password=<value>            Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --username=<value>            Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  Modify an asset's description page name. Renames page specified with --name to the new name <pageName>. The page name
  "home" makes a page the main description page. Argument "assetIdentifier" should be formatted as follows:
  ([group_id]/)<asset_id>/<version>. If "group_id" is not specified, it will default to the currently selected
  Organization ID.

See code: src/commands/exchange/asset/page/modify.ts

anypoint-cli-exchange-plugin exchange:asset:page:update ASSETIDENTIFIER PAGENAME MDPATH

Update an asset's description page in Markdown format. The page name "home" represents the main description page. Argument "assetIdentifier" should be formatted as follows:Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/. If "group_id" is not specified, it will default to the currently selected Organization ID.

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:page:update [ASSETIDENTIFIER] [PAGENAME] [MDPATH] [--password <value>
    [--username <value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization
    <value>] [--environment <value>] [--host <value>] [--collectMetrics] [-h] [-n <value>] [-f]

FLAGS
  -f, --force
  -h, --help                    Show CLI help.
  -n, --name=<value>            name to print
  --bearer=<value>              Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --client_id=<value>           Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>       Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
  --collectMetrics              collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --environment=<value>         Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --host=anypoint.mulesoft.com  [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
                                environment variable.
  --organization=<value>        Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --password=<value>            Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --username=<value>            Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  Update an asset's description page in Markdown format. The page name "home" represents the main description page.
  Argument "assetIdentifier" should be formatted as follows:Argument "assetIdentifier" should be formatted as follows:
  ([group_id]/)<asset_id>/<version>. If "group_id" is not specified, it will default to the currently selected
  Organization ID.

See code: src/commands/exchange/asset/page/update.ts

anypoint-cli-exchange-plugin exchange:asset:page:upload ASSETIDENTIFIER PAGENAME MDPATH

Upload an asset's description page in Markdown format. The page name "home" makes a page the main description page. Argument "assetIdentifier" should be formatted as follows: Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/. If "group_id" is not specified, it will default to the currently selected Organization ID.

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:page:upload [ASSETIDENTIFIER] [PAGENAME] [MDPATH] [--password <value>
    [--username <value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization
    <value>] [--environment <value>] [--host <value>] [--collectMetrics] [-h] [-n <value>] [-f]

FLAGS
  -f, --force
  -h, --help                    Show CLI help.
  -n, --name=<value>            name to print
  --bearer=<value>              Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --client_id=<value>           Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>       Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
  --collectMetrics              collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --environment=<value>         Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --host=anypoint.mulesoft.com  [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
                                environment variable.
  --organization=<value>        Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --password=<value>            Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --username=<value>            Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  Upload an asset's description page in Markdown format. The page name "home" makes a page the main description page.
  Argument "assetIdentifier" should be formatted as follows: Argument "assetIdentifier" should be formatted as follows:
  ([group_id]/)<asset_id>/<version>. If "group_id" is not specified, it will default to the currently selected
  Organization ID.

See code: src/commands/exchange/asset/page/upload.ts

anypoint-cli-exchange-plugin exchange:asset:resource:delete ASSETIDENTIFIER RESOURCEPATH

Delete the specified resource from the asset portal as draft

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:resource:delete [ASSETIDENTIFIER] [RESOURCEPATH] [--password <value> [--username
    <value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization <value>]
    [--environment <value>] [--host <value>] [--collectMetrics] [-h]

FLAGS
  -h, --help                    Show CLI help.
  --bearer=<value>              Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --client_id=<value>           Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>       Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
  --collectMetrics              collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --environment=<value>         Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --host=anypoint.mulesoft.com  [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
                                environment variable.
  --organization=<value>        Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --password=<value>            Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --username=<value>            Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  Delete the specified resource from the asset portal as draft

See code: src/commands/exchange/asset/resource/delete.ts

anypoint-cli-exchange-plugin exchange:asset:resource:download ASSETIDENTIFIER RESOURCEPATH FILEPATH

Downloads the specified published resource () from the asset portal to

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:resource:download [ASSETIDENTIFIER] [RESOURCEPATH] [FILEPATH] [--password <value>
    [--username <value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization
    <value>] [--environment <value>] [--host <value>] [--collectMetrics] [-h] [-n <value>] [-f]

FLAGS
  -f, --force
  -h, --help                    Show CLI help.
  -n, --name=<value>            name to print
  --bearer=<value>              Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --client_id=<value>           Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>       Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
  --collectMetrics              collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --environment=<value>         Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --host=anypoint.mulesoft.com  [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
                                environment variable.
  --organization=<value>        Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --password=<value>            Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --username=<value>            Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  Downloads the specified published resource (<resourcePath>) from the asset portal to <filePath>

See code: src/commands/exchange/asset/resource/download.ts

anypoint-cli-exchange-plugin exchange:asset:resource:list ASSETIDENTIFIER

Lists published resources in the asset portal

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:resource:list [ASSETIDENTIFIER] [--password <value> [--username <value> |
    --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization <value>] [--environment
    <value>] [--host <value>] [--collectMetrics] [-h] [-d] [-o <value>]

FLAGS
  -d, --draft                   Lists draft resources in the asset portal
  -h, --help                    Show CLI help.
  -o, --output=<value>          [default: table] Format for commands output. Supported values are table (default) and
                                json
  --bearer=<value>              Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --client_id=<value>           Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>       Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
  --collectMetrics              collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --environment=<value>         Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --host=anypoint.mulesoft.com  [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
                                environment variable.
  --organization=<value>        Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --password=<value>            Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --username=<value>            Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  Lists published resources in the asset portal

See code: src/commands/exchange/asset/resource/list.ts

anypoint-cli-exchange-plugin exchange:asset:resource:upload ASSETIDENTIFIER FILEPATH

Upload a resource to an asset page Supported file extensions: jpeg, jpg, jpe, gif, bmp, png, webp, ico, svg, tiff, tif

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:resource:upload [ASSETIDENTIFIER] [FILEPATH] [--password <value> [--username <value>
    | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization <value>]
    [--environment <value>] [--host <value>] [--collectMetrics] [-h] [-n <value>] [-f]

FLAGS
  -f, --force
  -h, --help                    Show CLI help.
  -n, --name=<value>            name to print
  --bearer=<value>              Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --client_id=<value>           Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>       Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
  --collectMetrics              collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --environment=<value>         Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --host=anypoint.mulesoft.com  [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
                                environment variable.
  --organization=<value>        Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --password=<value>            Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --username=<value>            Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  Upload a resource to an asset page  Supported file extensions: jpeg, jpg, jpe, gif, bmp, png, webp, ico, svg, tiff,
  tif

See code: src/commands/exchange/asset/resource/upload.ts

anypoint-cli-exchange-plugin exchange:asset:undeprecate ASSETIDENTIFIER

Undeprecate an asset. Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/. If "group_id" is not specified, it will default to the currently selected Organization ID

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:undeprecate [ASSETIDENTIFIER] [--password <value> [--username <value> |
    --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization <value>] [--environment
    <value>] [--host <value>] [--collectMetrics] [-h]

FLAGS
  -h, --help                    Show CLI help.
  --bearer=<value>              Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --client_id=<value>           Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>       Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
  --collectMetrics              collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --environment=<value>         Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --host=anypoint.mulesoft.com  [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
                                environment variable.
  --organization=<value>        Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --password=<value>            Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --username=<value>            Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  Undeprecate an asset. Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/<version>. If
  "group_id" is not specified, it will default to the currently selected Organization ID

See code: src/commands/exchange/asset/undeprecate.ts

anypoint-cli-exchange-plugin exchange:asset:updateStatus ASSETIDENTIFIER

Updates asset status. Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/. If "group_id" is not specified, it will default to the currently selected Organization ID.

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:updateStatus [ASSETIDENTIFIER] --status <value> [--password <value> [--username
    <value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization <value>]
    [--environment <value>] [--host <value>] [--collectMetrics] [-h]

FLAGS
  -h, --help                    Show CLI help.
  --bearer=<value>              Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --client_id=<value>           Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>       Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
  --collectMetrics              collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --environment=<value>         Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --host=anypoint.mulesoft.com  [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
                                environment variable.
  --organization=<value>        Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --password=<value>            Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --status=<value>              (required) (required) New asset status
  --username=<value>            Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  Updates asset status. Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/<version>. If
  "group_id" is not specified, it will default to the currently selected Organization ID.

See code: src/commands/exchange/asset/updateStatus.ts

anypoint-cli-exchange-plugin exchange:asset:upload ASSETIDENTIFIER [PROPERTIES]

Upload a rest-api, soap-api, http-api, custom, app, template, example, policy and connector asset. Basic example to upload a raml asset: exchange:asset:upload --name "Raml Asset" --description "RAML" --properties='{"mainFile":"encrypt.raml", "apiVersion":"v1"}' --files='{"raml.zip":".../file-path/raml.zip" }"' raml-asset/1.0.0. Describing the asset. Argument "assetIdentifier" should be formatted as follows: ([group_id]/)<asset_id>/. If "group_id" is not specified, it will default to the currently selected Organization ID.

USAGE
  $ anypoint-cli-exchange-plugin exchange:asset:upload [ASSETIDENTIFIER] [PROPERTIES] [--password <value> [--username
    <value> | --client_id <value> | ]] [--client_secret <value> ] [--bearer <value> |  | ] [--organization <value>]
    [--environment <value>] [--host <value>] [--collectMetrics] [-h] [--name <value>] [--description <value>] [--type
    <value>] [--keywords <value>] [--tags <value>] [--categories <value>] [--fields <value>] [--dependencies <value>]
    [--properties <value>] [--files <value>] [--status development|published]

FLAGS
  -h, --help                    Show CLI help.
  --bearer=<value>              Token Bearer. You can define this in the ANYPOINT_BEARER environment variable.
  --categories=<value>          Categories. Should be used as --categories='{"someKey": "someValue"}'
  --client_id=<value>           Client ID. You can define this in the ANYPOINT_CLIENT_ID environment variable.
  --client_secret=<value>       Client Secret. You can define this in the ANYPOINT_CLIENT_SECRET environment variable.
  --collectMetrics              collect metrics. You can define this in the COLLECT_METRICS environment variable.
  --dependencies=<value>        Asset dependencies, separated by ",". E.g. dependencies
                                groupId:assetId:version,groupId2...
  --description=<value>         Asset description
  --environment=<value>         Environment Name. You can define this in the ANYPOINT_ENV environment variable.
  --fields=<value>              Custom Fields. Should be used as --fields='{"someKey": "someValue"}'
  --files=<value>               Asset file. (it should be identified as classifier.packaging or just "packaging" as key
                                of a json. E.g. --files='{"raml.zip":".../file-path/raml.zip" }"' (to send multiple
                                files, use the same option multiple times. Example:
                                --files='{"raml.zip":".../file-path/raml.zip" , "pom.xml": "./pom.xml"}'
  --host=anypoint.mulesoft.com  [default: anypoint.mulesoft.com] Host URL. You can define this in the ANYPOINT_HOST
                                environment variable.
  --keywords=<value>            Keywords. Should be used as a comma separated list. E.g. "keyword1,keyword2,keyword3"
  --name=<value>                Asset name (required if no pom file is specified)
  --organization=<value>        Organization Name. You can define this in the ANYPOINT_ORG environment variable.
  --password=<value>            Password. You can define this in the ANYPOINT_PASSWORD environment variable.
  --properties=<value>          Asset properties. Should be used as --properties='{"mainFile":"main.raml",
                                "apiVersion":"v1", "assetLink": "http://api.com"}'
  --status=<option>             Asset status can be one of: development or published
                                <options: development|published>
  --tags=<value>                Tags. Should be used as a comma separated list. E.g. "tag1,tag2,tag3"
  --type=<value>                Asset Type. (required if no file is uploaded. If it is uploaded, type will be inferred
                                from classifier)Supported Values: rest-api, soap-api, http-api, raml-fragment, custom,
                                connector, template, example, policy, app, extension, external-library
  --username=<value>            Username. You can define this in the ANYPOINT_USERNAME environment variable.

DESCRIPTION
  Upload a rest-api, soap-api, http-api, custom, app, template, example, policy and connector asset. Basic example to
  upload a raml asset: exchange:asset:upload --name "Raml Asset" --description "RAML"
  --properties='{"mainFile":"encrypt.raml", "apiVersion":"v1"}' --files='{"raml.zip":".../file-path/raml.zip" }"'
  raml-asset/1.0.0. Describing the asset. Argument "assetIdentifier" should be formatted as follows:
  ([group_id]/)<asset_id>/<version>. If "group_id" is not specified, it will default to the currently selected
  Organization ID.
  To learn more about the creation endpoint visit https://anypoint.mulesoft.com/exchange/portals/anypoint-platform/f1e97
  bc6-315a-4490-82a7-23abe036327a.anypoint-platform/exchange-experience-api/minor/2.0/pages/Asset%20Creation/

See code: src/commands/exchange/asset/upload.ts

anypoint-cli-exchange-plugin help [COMMAND]

Display help for anypoint-cli-exchange-plugin.

USAGE
  $ anypoint-cli-exchange-plugin help [COMMAND] [-n]

ARGUMENTS
  COMMAND  Command to show help for.

FLAGS
  -n, --nested-commands  Include all nested commands in the output.

DESCRIPTION
  Display help for anypoint-cli-exchange-plugin.

See code: @oclif/plugin-help

anypoint-cli-exchange-plugin version

USAGE
  $ anypoint-cli-exchange-plugin version

See code: @oclif/plugin-version