You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/development/cli.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,20 @@
1
1
# CLI Development
2
+
> Maintaining code around the CLI tool
2
3
3
-
The code is in [src/cli/](/src/cli).
4
+
The code is in [src/cli/](/src/cli). The CLI commands are built using steps set in [package.json](/package.json) - see the `cli` command and `bin` section.
5
+
6
+
7
+
## Run directly
8
+
9
+
```sh
10
+
$ npx ts-node src/cli/diffIndexGenerate.ts
11
+
```
4
12
5
-
The CLI commands are built using steps set in [package.json](/package.json) - see the `cli` command and `bin` section.
6
13
7
14
## Package as a binary
8
15
16
+
To send to someone so they can use it without having Node installed or running a build step on their machine.
0 commit comments