3.22.5 • Published 1 month ago

anypoint-cli v3.22.5

Weekly downloads
3,151
License
-
Repository
github
Last release
1 month ago

Anypoint Platform CLI

Documentation

Display and interact with the Mulesoft Anypoint Platform from the command line. Supports interactive shell and standard CLI modes.

Installation from npm

npm install -g anypoint-cli

Usage

anypoint-cli [params] [command]

Note: Omitting command will run anypoint-cli in interactive mode.

Required params:

(username, password) or (client_id, client_secret) or bearer

Optional params:

organization, environment, host

Parameters are loaded from one of the profiles in ~/.anypoint/credentials, which has the form

{
  "default": {
    "username": "",
    "password": ""
  },
  "otherProfile": {
    "username": "",
    "password": "",
    "organization": "",
    "environment": "",
    "host": ""
  },
  "connAppProfile": {
    "client_id": "",
    "client_secret": "",
    "organization": "",
    "environment": "",
    "host": ""
  }
}

Global options --output and --fields can also be specified in ~/.anypoint/defaults. This file's structure is identical to the one of ~/.anypoint/credentials below. E.g.:

{
  "default": {
    "output": "json",
    "fields": "ID,Name"
  },
  "otherProfile": {
     "output": "table"
  }
}

Notes

  • The 'default' profile from the credentials file is used unless ANYPOINT_PROFILE env variable is set.
  • Environment variables override credentials file parameters (ANYPOINT_USERNAME, ANYPOINT_PASSWORD, ANYPOINT_CLIENT_ID, ANYPOINT_CLIENT_SECRET, ANYPOINT_ORG, ANYPOINT_ENV, ANYPOINT_HOST).
  • Command line parameters override environment variables (--username, --password, --client_id, --client_secret, --bearer, --organization, --environment).
  • If a 'password' parameter is not included but a username is, you will be prompted for one.
  • If a 'bearer' is used instead of 'username'/'password', the CLI process exits when the bearer token expires. Note that 'bearer' can be loaded only as Environment or Command line parameter.
  • If the CLI process cannot determine which credentials to use, it will exit with an error
  • In order to improve Anypoint CLI experience we are sending anonymized usage. You may opt-out by setting the parameter collectMetrics in false into .credentials file.

Release Notes

Updated changelog is available at the official Mulesoft Docs page

3.22.5

1 month ago

3.22.4

2 months ago

3.22.3

3 months ago

3.22.2

3 months ago

3.22.1

3 months ago

3.22.0

3 months ago

3.21.9

5 months ago

3.21.7

7 months ago

3.21.8

6 months ago

3.21.6

11 months ago

3.21.5

11 months ago

3.21.4

11 months ago

3.21.1

1 year ago

3.21.3

1 year ago

3.21.2

1 year ago

3.20.0

1 year ago

3.21.0

1 year ago

3.18.1

2 years ago

3.18.2

1 year ago

3.19.0

1 year ago

3.19.1

1 year ago

3.17.0

2 years ago

3.13.1-CH2-beta

2 years ago

3.14.0

2 years ago

3.18.0

2 years ago

3.13.0

2 years ago

3.15.0

2 years ago

3.15.1

2 years ago

3.16.0

2 years ago

3.12.0

2 years ago

3.9.7

2 years ago

3.9.6

2 years ago

3.10.0

2 years ago

3.11.0

2 years ago

3.9.3

2 years ago

3.9.2

2 years ago

3.9.5

2 years ago

3.9.4

2 years ago

3.9.1

2 years ago

3.9.0

3 years ago

3.8.2

3 years ago

3.8.1

3 years ago

3.8.0

3 years ago

3.7.1

3 years ago

3.7.0

3 years ago

3.6.1

3 years ago

3.6.0

3 years ago

3.4.3

4 years ago

3.4.2

4 years ago

3.3.0

4 years ago

3.2.6

5 years ago

3.2.5

5 years ago

3.2.4

5 years ago

3.2.3

5 years ago

3.2.2

5 years ago

3.2.0

5 years ago

3.1.1

5 years ago

3.1.0

5 years ago

3.0.5

5 years ago

3.0.4

5 years ago

3.0.3

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

6 years ago

3.0.0-beta.4

6 years ago

3.0.0-beta.3

6 years ago

3.0.0-beta.2

6 years ago

3.0.0-beta.1

6 years ago

3.0.0-beta

6 years ago

2.3.2

6 years ago

2.3.1

6 years ago

2.3.1-beta

6 years ago

2.3.0

6 years ago

2.2.0

6 years ago

2.2.0-beta.4

6 years ago

2.2.0-beta.3

6 years ago

2.2.0-beta.2

6 years ago

2.2.0-beta.1

6 years ago

2.2.0-beta

6 years ago

2.1.2

6 years ago

2.1.1

7 years ago

2.1.1-beta

7 years ago

2.1.0

7 years ago

2.1.0-beta.3

7 years ago

2.0.8

7 years ago

2.0.8-hotfix

7 years ago

2.0.7

7 years ago

2.0.6

7 years ago

2.0.5-hotfix

7 years ago

2.1.0-beta.2

7 years ago

2.0.5

7 years ago

2.1.0-beta

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

2.0.0-beta.0

7 years ago

2.0.0-beta

7 years ago

1.1.4

7 years ago

1.2.0-beta

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.2-beta

7 years ago

1.0.20

8 years ago

1.0.19

8 years ago

1.0.18

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.17

8 years ago

1.0.16

8 years ago

1.0.15

8 years ago

1.0.14

8 years ago

1.0.13

8 years ago

1.0.12

8 years ago

1.0.11

8 years ago

1.0.10

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago