centiloquy-cli-tool
v1.0.4
Published
A developer-friendly CLI tool to **scaffold integration actions** for internal platforms. It auto-generates `integration` files containing a ready-to-use structure including:
Readme
🔧 Centiloquy CLI Tool
A developer-friendly CLI tool to scaffold integration actions for internal platforms. It auto-generates integration files containing a ready-to-use structure including:
- Field metadata
- Sample boilerplate logic
📦 Installation
To install this tool globally from npm:
npm install -g centiloquy-cli-tool🚀 Usage
1. Create a New Integration
centiloquy-cli createYou’ll be prompted to enter the integration name. This will:
- Create a new folder with that name.
- Generate:
YourIntegrationName.action.jsYourIntegrationName.action.json
- Create a placeholder
logos/directory for your integration logo.
Example:
Enter the integration name: MyIntegrationMyIntegration/
├── MyIntegration.action.js
├── MyIntegration.action.json
└── logos/
└── myIntegration.svg # expected image file2. Generate Field Parameters
After creating an integration, use the following command to auto-generate the dynamic field-handling logic inside the .action.js file:
centiloquy-cli generate MyIntegration/MyIntegration.action.jsThis command will:
- Inject
getFieldParameterextraction code into theexecutemethod. - Build a
requestDataobject. - Clean the data to remove
null,undefined, or empty values using adeepClean()utility.
