https://github.com/ramsailopal/cachecmd
A command line utility to interface with Intersystems Cache
https://github.com/ramsailopal/cachecmd
intersystems-cache mumps
Last synced: 6 months ago
JSON representation
A command line utility to interface with Intersystems Cache
- Host: GitHub
- URL: https://github.com/ramsailopal/cachecmd
- Owner: RamSailopal
- License: mit
- Created: 2021-04-09T08:02:05.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-09T14:43:44.000Z (about 5 years ago)
- Last Synced: 2024-12-29T10:27:40.209Z (over 1 year ago)
- Topics: intersystems-cache, mumps
- Language: Shell
- Homepage:
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
AUTHOR - Raman Sailopal
BACKGROUND - Simple command line utility to interface with Intersystems IRIS environment via an IRIS session
USAGE
- Parameter 1 - The namespace
Parameter 2 - The objectscript command
example 1:
cachecmd "USER" 'S ^TEST("TEST")="TEST"'
This will set up a global TEST with a subscript TEST and a value TEST, on an instance named IRIS and in the USER namespace
example 2:
cachecmd "USER" 'W ^TEST("TEST")'
TEST
This will return the TEST value created in example 1
PREREQUISITES
- An installed version of intersystems IRIS (See iris repo for installation with Ansible)
- grep installed on the machine running iriscmd
INSTALLATION - Run:
git clone https://github.com/RamSailopal/cachecmd.git
mv cachecmd/cachecmd /usr/local/bin