NOW-sync
A tool to help developers sync local files to ServiceNow record fields. Requires NodeJS.
Commands
now [command] Commands: now check Checks for any config errors now config Initiates config for current folder (run this first) [aliases: init, c] now info Lists information about ServiceNow instance [aliases: i] now add:table Add a new table configuration to sync with local files [aliases: at] now add Add record files to sync with a ServiceNow record [aliases: a] now pull Overwrites all local file content with synced ServiceNow record content now push Overwrites all synced ServiceNow record fields with local file content now sync !DANGER! Perform a one-time sync on all synced local files with ServiceNow records now watch Watches project folder files for changes and pushes changes to ServiceNow Options: --version Show version number [boolean] --help Show help [boolean]
Quick Start
- Install NodeJS. Use nvm or nvm-windows or asdf if you’d like.
- Install this package:
yarn global add now-sync
(ornpm -g install now-sync
). - Run
now config
to configure your local environment. - Test your configuration by running
now info
. - Run
now add
to add a record to sync. - Run
now watch
to start watching local files. - Make some file changes, watch your file updates sync with the ServiceNow record.
- Happy development!