@ama-terasu/cli
TypeScript icon, indicating that this package has built-in type declarations

11.1.3 • Public • Published

Ama-Terasu

Stable Version Bundle Size

Ama Terasu is a Command Line Interface to administrate Amadeus Digital Experience suite.

How to use

This CLI is NodeJs based and can be used with this simple command:

npx @ama-terasu/cli --help

# or with yarn2+
yarn dlx @ama-terasu/cli --help

[!IMPORTANT] For yarn, the CLI modules are only compatible with the nodeLinker: node_modules strategy.

Managing installed modules

You can get the list the versions of the available modules with the following command:

npx @ama-terasu/cli --version

The command will give you information regarding the version of the modules installed and the latest available ones. You can upgrade the modules version with the module manager:

# upgrade/install to the latest version:
npx @ama-terasu/cli module update <my module>

# upgrade/install to a specific version:
npx @ama-terasu/cli module update <my module> --to 1.2.3

[!NOTE] When accessing to a module that is not installed, the CLI will automatically download the latest available version

How to register a module

The only thing you need to do to get your module available is to publish your module on npmjs.com with amaterasu-module into your package keywords.

[!IMPORTANT] Your module should export an object following the AmaCliModule interface from the @ama-terasu/core package.

/@ama-terasu/cli/

    Package Sidebar

    Install

    npm i @ama-terasu/cli

    Weekly Downloads

    815

    Version

    11.1.3

    License

    BSD-3-Clause

    Unpacked Size

    67.1 kB

    Total Files

    43

    Last publish

    Collaborators

    • mrednic-1a
    • vscaiceanu-1a
    • jbourgeois-1a
    • nicohoffmann
    • kpanot