2.0.1 • Published 4 days ago

@clarigen/cli v2.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 days ago

@clarigen/cli

For setup instructions, check out the Clarigen setup guide.

Most of the time, you'll only need to run clarigen to automatically build your files. You can also run clarigen --watch to automatically generate files whenever you save one of your Clarity contracts.

Usage

$ npm install -g @clarigen/cli
$ clarigen COMMAND
running command...
$ clarigen (-v|--version|version)
@clarigen/cli/0.1.0 darwin-arm64 node-v15.14.0
$ clarigen --help [COMMAND]
USAGE
  $ clarigen COMMAND
...

clarigen

Generate project files

USAGE
  $ clarigen

OPTIONS
  -h, --help   show CLI help
  -w, --watch  Watch for changes to your contracts

clarigen contract [CONTRACT]

Generate files for a single contract

USAGE
  $ clarigen contract [CONTRACT]

ARGUMENTS
  CONTRACT  The file path for your contract

OPTIONS
  -h, --help           show CLI help
  -o, --output=output  [default: clarion] Output destination folder

clarigen generate

Generate project files

USAGE
  $ clarigen generate

OPTIONS
  -h, --help   show CLI help
  -w, --watch  Watch for changes to your contracts

Development

To run the CLI:

yarn start ARGS_AND_FLAGS

This package uses @vercel/ncc to package the CLI into a single file. yarn build will also automatically update this README.

yarn build

To run the executable:

./bin/run ARGS_AND_FLAGS
2.0.1

4 days ago

2.0.0

4 days ago

1.0.0-next.19

2 years ago

1.0.0-next.18

2 years ago

1.0.0-next.17

2 years ago

1.0.0-next.16

2 years ago

1.0.0-next.15

2 years ago

1.0.0-next.22

2 years ago

1.0.0-next.21

2 years ago

1.0.0-next.20

2 years ago

1.0.0-next.26

2 years ago

1.0.0-next.25

2 years ago

1.0.0-next.24

2 years ago

1.0.0-next.14

2 years ago

1.0.0-next.11

2 years ago

1.0.0-next.10

2 years ago

1.0.0-next.12

2 years ago

1.0.0-next.9

2 years ago

1.0.0-next.8

2 years ago

1.0.0-next.3

2 years ago

0.3.6

2 years ago

1.0.0-next.4

2 years ago

1.0.0-next.6

2 years ago

1.0.0-next.7

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.3.2

3 years ago

0.3.0

3 years ago

0.2.7

3 years ago

0.3.1

3 years ago

0.2.5

3 years ago

0.2.0

3 years ago

0.2.4

3 years ago

0.1.1

3 years ago

0.0.4

3 years ago