Read file added by Sergey Mikhailenko
This is a collection of useful one line commands for ObjectScript. Use and add your own!
Currently it has one-liners of:
Execute classmethods in ##class(dc.one.Line).Method()
zpm "dc-one-liners"
Contribution is very welcome! Using Pull Requests!
Make sure you have git and Docker desktop installed.
Clone/git pull the repo into any local directory
$ git clone https://github.com/intersystems-community/intersystems-iris-dev-template.git
Open the terminal in this directory and call the command to build and run InterSystems IRIS in container:
$ docker-compose up -d
To open IRIS Terminal do:
$ docker-compose exec iris iris session iris -U IRISAPP
IRISAPP>
To exit the terminal, do any of the following:
Enter HALT or H (not case-sensitive)
This repository is ready to code in VSCode with ObjectScript plugin.
Install VSCode, Docker and ObjectScript plugin and open the folder in VSCode.
Open /src/cls/PackageSample/ObjectScript.cls class and try to make changes - it will be compiled in running IRIS docker container.
Feel free to delete PackageSample folder and place your ObjectScript classes in a form /src/organisation/package/Classname.cls Read more about folder setup for InterSystems ObjectScript and her on the naming convention
Read file added by Sergey Mikhailenko
Added macro support
Two new one-liners added:
Module bump
A set of oneliners for ObjectScript:
Add your own!