anypoint-cli
Display and interact with the Anypoint Platform from the command line. Supports interactive shell and standard CLI modes.
Last updated 4 days ago by noambenami .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install anypoint-cli 
SYNC missed versions from official npm registry.

Anypoint Platform CLI

Build Status Build status (Windows) Documentation

Display and interact with the 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 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": ""
  }
}

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_ORG, ANYPOINT_ENV, ANYPOINT_HOST).
  • Command line parameters override environment variables (--username, --password, --bearer, --organization, --environment).
  • If a 'password' parameter is not included, 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.

Release Notes

External release notes are posted at https://docs.mulesoft.com/release-notes/cli/anypoint-platform-cli

  • 3.0: Require minimum Node version >=v8.12.0
  • 3.0.1: Bug fixes
  • 3.0.2: Bug fixes
  • 3.0.3: Fixes "api-mgr api manage" command when using "--referencesUserDomain true" on Hybrid [SE-10097]
  • 3.0.4: Add mainFile for oas and wsdl publication [EXC-2540]
  • 3.0.5: Adding support for pagination within designcenter [SE-9465]
  • 3.1.0: Add support for uploading RAML assets [EXC-2539]
  • 3.1.1: Fix issue when using properties with colon or equal characters in the value field [SE-7077]
  • 3.2.0: Add a warning when an invalid HTTPS_PROXY or HTTP_PROXY environment value is found [SE-8952]
  • 3.2.1: Fix issue when uploading asset with file path starting with "~" [EXC-3423]
  • 3.2.2: Fix issue when publishing to exchange with different groupId [DESIGNER-3779]
  • 3.2.3: Fix mapping of Asset Type on API Manager [SE-12127]
  • 3.2.4: Fix update exchange.json stage when publishing to exchange [SE-11829]
  • 3.2.5: Fix issue when runtime list doesn't show default mule version [SE-12506]

Current Tags

  • 3.0.0-beta.4                                ...           beta (10 months ago)
  • 3.2.5                                ...           latest (4 days ago)

74 Versions

  • 3.2.5                                ...           4 days ago
  • 3.2.4                                ...           a month ago
  • 3.2.3                                ...           a month ago
  • 3.2.2                                ...           2 months ago
  • 3.2.0                                ...           4 months ago
  • 3.1.1                                ...           4 months ago
  • 3.1.0                                ...           4 months ago
  • 3.0.5                                ...           7 months ago
  • 3.0.4                                ...           7 months ago
  • 3.0.3                                ...           8 months ago
  • 3.0.2                                ...           8 months ago
  • 3.0.1                                ...           9 months ago
  • 3.0.0                                ...           10 months ago
  • 3.0.0-beta.4                                ...           10 months ago
  • 3.0.0-beta.3                                ...           10 months ago
  • 3.0.0-beta.2                                ...           a year ago
  • 3.0.0-beta.1                                ...           a year ago
  • 3.0.0-beta                                ...           a year ago
  • 2.3.2                                ...           a year ago
  • 2.3.1                                ...           a year ago
  • 2.3.1-beta                                ...           a year ago
  • 2.3.0                                ...           a year ago
  • 2.2.0                                ...           2 years ago
  • 2.2.0-beta.4                                ...           2 years ago
  • 2.2.0-beta.3                                ...           2 years ago
  • 2.2.0-beta.2                                ...           2 years ago
  • 2.2.0-beta.1                                ...           2 years ago
  • 2.2.0-beta                                ...           2 years ago
  • 2.1.2                                ...           2 years ago
  • 2.1.1                                ...           2 years ago
  • 2.1.1-beta                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.1.0-beta.3                                ...           2 years ago
  • 2.0.8                                ...           2 years ago
  • 2.0.8-hotfix                                ...           2 years ago
  • 2.0.7                                ...           2 years ago
  • 2.0.6                                ...           2 years ago
  • 2.0.5-hotfix                                ...           2 years ago
  • 2.1.0-beta.2                                ...           2 years ago
  • 2.0.5                                ...           2 years ago
  • 2.1.0-beta                                ...           2 years ago
  • 2.0.4                                ...           2 years ago
  • 2.0.3                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 2.0.0-beta.0                                ...           2 years ago
  • 2.0.0-beta                                ...           2 years ago
  • 1.1.4                                ...           2 years ago
  • 1.2.0-beta                                ...           2 years ago
  • 1.1.3                                ...           2 years ago
  • 1.1.2                                ...           3 years ago
  • 1.1.2-beta                                ...           3 years ago
  • 1.0.20                                ...           3 years ago
  • 1.0.19                                ...           3 years ago
  • 1.0.18                                ...           3 years ago
  • 1.1.1 [deprecated]           ...           3 years ago
  • 1.1.0 [deprecated]           ...           3 years ago
  • 1.0.17                                ...           3 years ago
  • 1.0.16                                ...           3 years ago
  • 1.0.15                                ...           3 years ago
  • 1.0.14                                ...           3 years ago
  • 1.0.13                                ...           3 years ago
  • 1.0.12                                ...           3 years ago
  • 1.0.11                                ...           3 years ago
  • 1.0.10                                ...           3 years ago
  • 1.0.9                                ...           3 years ago
  • 1.0.8                                ...           3 years ago
  • 1.0.7                                ...           3 years ago
  • 1.0.6                                ...           3 years ago
  • 1.0.5                                ...           3 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
Downloads
Today 0
This Week 21
This Month 21
Last Day 0
Last Week 0
Last Month 205
Dependencies (26)
Dev Dependencies (12)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |