HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ngs — Scripting language created specifically for Ops. More information: <https://github.com/ngs-lang/ngs>

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandlanguagescriptingcreatedclispecificallyforngs

Problem

How to use the ngs command: Scripting language created specifically for Ops. More information: <https://github.com/ngs-lang/ngs>.

Solution

ngs — Scripting language created specifically for Ops. More information: <https://github.com/ngs-lang/ngs>.

Execute a code snippet:
ngs -e "{{echo('ngs is executed')}}"


Execute a script:
ngs {{path/to/script.ngs}}


Display version:
ngs --version

Code Snippets

Execute a code snippet

ngs -e "{{echo('ngs is executed')}}"

Execute a script

ngs {{path/to/script.ngs}}

Display version

ngs --version

Context

tldr-pages: common/ngs

Revisions (0)

No revisions yet.