@ama-terasu/cli
v11.5.4
Published
Command Line Interface to administrate a Digital Experience Suite projects
Downloads
4,327
Keywords
Readme
Ama-Terasu
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.