@tscircuit/cli 0.1.48 → 0.1.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -0
- package/dist/main.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,6 +22,33 @@ tsci clone author/snippetName
|
|
|
22
22
|
npm install -g @tscircuit/cli
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
+
## CLI USAGE
|
|
26
|
+
|
|
27
|
+
<!-- START_HELP_OUTPUT -->
|
|
28
|
+
```
|
|
29
|
+
Usage: tsci [options] [command]
|
|
30
|
+
|
|
31
|
+
CLI for developing tscircuit snippets
|
|
32
|
+
|
|
33
|
+
Options:
|
|
34
|
+
-V, --version output the version number
|
|
35
|
+
-h, --help display help for command
|
|
36
|
+
|
|
37
|
+
Commands:
|
|
38
|
+
init [directory] Initialize a new TSCircuit project in the specified
|
|
39
|
+
directory (or current directory if none is provided)
|
|
40
|
+
dev [options] [file] Start development server for a snippet
|
|
41
|
+
clone <snippet> Clone a snippet from the registry
|
|
42
|
+
push [file] Save snippet code to Registry API
|
|
43
|
+
auth Login/logout
|
|
44
|
+
login Login to tscircuit registry
|
|
45
|
+
logout Logout from tscircuit registry
|
|
46
|
+
config Manage tscircuit CLI configuration
|
|
47
|
+
export [options] <file> Export tscircuit code to various formats
|
|
48
|
+
help [command] display help for command
|
|
49
|
+
```
|
|
50
|
+
<!-- END_HELP_OUTPUT -->
|
|
51
|
+
|
|
25
52
|
## Development
|
|
26
53
|
|
|
27
54
|
This command will open the `snippets.tsx` file for editing.
|
package/dist/main.js
CHANGED
|
@@ -422189,7 +422189,7 @@ var package_default = {
|
|
|
422189
422189
|
name: "@tscircuit/cli",
|
|
422190
422190
|
main: "dist/main.js",
|
|
422191
422191
|
type: "module",
|
|
422192
|
-
version: "0.1.
|
|
422192
|
+
version: "0.1.48",
|
|
422193
422193
|
bin: {
|
|
422194
422194
|
tsci: "./dist/main.js"
|
|
422195
422195
|
},
|