Skip to content

Latest commit

 

History

History
44 lines (29 loc) · 1.88 KB

File metadata and controls

44 lines (29 loc) · 1.88 KB

Numscript CLI

GitHub Release Go Reference Go codecov

Numscript is the DSL used to express financial transaction within the Formance ledger. You can try it in its online playground

The CLI in this repo allows you to play with numscript locally, check if there are parsing or logic errors in your numscript files, and run the numscript language server

The language server features include:

  • Diagnostics
  • Hover on values
  • Detect document symbols
  • Go to definition

Installation

You can install the numscript cli with one of the following ways:

Using curl

curl -sSf https://raw.githubusercontent.com/formancehq/numscript/main/install.sh | bash

Using golang toolchain

go install github.com/formancehq/numscript/cmd/numscript@latest

Telemetry

Release builds of the numscript CLI send anonymous crash reports to Sentry when the program panics. A crash report contains the panic message, a stack trace, and the CLI version — nothing else. No reports are sent during normal operation, and development builds (built from source with go install or go build, where the version is develop) never send anything.

To disable crash reporting entirely, set the NUMSCRIPT_NO_TELEMETRY environment variable to any non-empty value:

export NUMSCRIPT_NO_TELEMETRY=1