Skip to content

Accruent/now-sync

Repository files navigation

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

  1. Install NodeJS. Use nvm or nvm-windows or asdf if you’d like.
  2. Install this package: yarn global add now-sync (or npm -g install now-sync).
  3. Run now config to configure your local environment.
  4. Test your configuration by running now info.
  5. Run now add to add a record to sync.
  6. Run now watch to start watching local files.
  7. Make some file changes, watch your file updates sync with the ServiceNow record.
  8. Happy development!