Skip to content
This repository has been archived by the owner on Jul 25, 2020. It is now read-only.

v0.1.2

Latest
Compare
Choose a tag to compare
@0x111 0x111 released this 12 May 12:48
· 4 commits to master since this release
a0e1ed7

This release introduces the possibility to download or upload a single entry from/to the instance. These options pave the way for a better integration in third party tools in the future and ease the process of introducing new features along the way.
You can use the download or upload commands for this.
Examples help:

Download #2

$ ./sn-edit download --help
You can download one entry (for example a script) from the
        instance and write it to the disk in the typical {table}/sysName_sysID.js structure

Usage:
  sn-edit download [flags]

Flags:
  -c, --config string   this flag overrides the default "servicenow-script-editor.json" file
  -h, --help            help for download
      --sys_id string   this flag sets the sys_id of the script which we would like to get
      --table string    this flag sets the table name from which we should get the script from

Upload #3

$ ./sn-edit upload --help
You can upload one entry (for example a script) to the
        instance while reading the script from the disk in the typical {table}/sysName_sysID.js structure

Usage:
  sn-edit upload [flags]

Flags:
  -c, --config string   this flag overrides the default "servicenow-script-editor.json" file
  -h, --help            help for upload
      --sys_id string   this flag sets the sys_id of the script which we would like to rewrite with the new content
      --table string    this flag sets the table name of the target

As always, the binaries are available here for downloading and you can check them with the checksum.

In case of any questions please raise an issue and we will discuss them.

Edit(13.6.2019):
The binaries were reuploaded due to a configuration error in the build script. Please redownload. #8