Skip to main content

Command Line Interface

The CLI can be run with

node <path-to-vestlang>/apps/cli/dist/index.js

Inspect

Produce the raw AST from a DSL statement

Usage

vest inspect [options] [input...]

Arguments

ArgumentDescription
inputDSL statement

Options

OptionDescription
-h, --helpdislay help

Compile

Produce a normalized AST from a DSL statement

Usage

vest compile [options] [input...]

Arguments

ArgumentDescription
inputDSL statement

Options

OptionDescription
-h, --helpdislay help

Evaluate

Evaluate the vesting schedule produced from a DSL statement

Usage

vest evaluate [options] [input...]

Arguments

ArgumentDescription
inputDSL statement

Options

OptionDescription
-q, --quantity <number>total number of shares granted
-g, --grantDate <YYYY-MM-DD>grant date of the award
-e, --event <NAME=YYYY-MM-DD>add an event (repeatable)
-h, --helpdislay help

As of

Evaluate the vesting schedule produced from a DSL statement as of a given date.

Usage

vest asOf [options] [input...]

Arguments

ArgumentDescription
inputDSL statement

Options

OptionDescription
-q, --quantity <number>total number of shares granted
-g, --grantDate <YYYY-MM-DD>grant date of the award
-d, --date <YYYY-MM-DD>as-of date
-h, --helpdislay help

Lint

Lint DSL statement and report syntax issues

Usage

vest lint [options] [input...]

Arguments

ArgumentDescription
inputDSL statement

Options

OptionDescription
-h, --helpdislay help