Home Applications isc-one-liners

isc-one-liners

This application is not supported by InterSystems Corporation. Please be notified that you use it at your own risk.
5
2 reviews
0
Awards
698
Views
25
IPM installs
4
0
Details
Releases  (7)
Reviews  (2)
Issues
Articles  (3)
useful one line commands for objectscript

What's new in this version

one liner to add z-commands for one-lines
by Sergei Mikhailenko

Gitter
Quality Gate Status
Reliability Rating

License: MIT

isc-one-liners

This is a collection of useful one line commands for ObjectScript. Use and add your own!

What’s new

Added a one-line Z-command.

Description

Currently it has one-liners of:

  • SSL configuration creation
  • ZPM installation
  • IRIS BI (DeepSee) enablement
  • PercentAll creation
  • Turn Off Random globals names
  • Make the storage DDL and UDL classes similar

Usage

Execute classmethods in ##class(dc.one.Line).Method()

Installation

zpm “install dc-one-liners”

CONTRIBUTION

Contribution is very welcome! Using Pull Requests!

Contribution Prerequisites

Make sure you have git and Docker desktop installed.

Installation for contribution

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)

How to start the development

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.
docker_compose

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

Made with
Install
zpm install dc-one-liners download archive
Version
1.2.218 Oct, 2023
Ideas portal
https://ideas.intersystems.com/ideas/DP-I-174
ObjectScript quality test
Category
Developer Environment
Works with
InterSystems IRISInterSystems IRIS for Health
First published
12 Feb, 2022
Last checked by moderator
15 Oct, 2024Works