yala-component-cli
v1.0.22
Published
Yansa Labs' improved CLI solution for custom component development in ServiceNow
Downloads
31
Maintainers
Readme
yala-component-cli
Speed up your custom component development with Yansa Labs' Now CLI wrapper!
This package adds aditional functionality around ServiceNow's CLI to simplify the setup process and reduce the learning curve while using the CLI for local custom component development.
Check out this blog post for more details Unlocking the Potential of ServiceNow's CLI
Installation
npm install -g yala-component-cli
Requirements
- Nodejs v12.16.1 or v14.21.3
- ServiceNow CLI
Usage
Format: yala <command> [option]
Commands
help
: Print help infosetup
: Setup a new custom component projectcreate-component
: Create a new component in your current projectdelete-component
: Delete a component from your projectadd-property
: Add a property to a component in the now-ui.json fileadd-action
: Add a naction to a component in the now-ui.json filedevelop
: Starts a development server for your project that renders the content of 'example/element.js'deploy
: Deploy your component to a ServiceNow instance. Add the '--force' flag to force the deploycreate-xml
: Export your component project to an xml update set
Options
-c
,--clear
: Clear the console-d
,--debug
: Print debug info-v
,--version
: Print CLI version