polywise 0.0.1 → 0.0.3
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 +80 -0
- package/dist/5301.js +526 -524
- package/dist/app_dist/index.html +1 -1
- package/dist/app_dist/static/css/index.9587405eb5.css +1 -0
- package/dist/app_dist/static/js/{71221.68f8da9fee.js → 51514.c63d728079.js} +2 -2
- package/dist/app_dist/static/js/async/{34721.1c4890459a.js → 34721.b0f028d779.js} +1 -1
- package/dist/app_dist/static/js/async/53583.e9fc027e57.js +1 -0
- package/dist/app_dist/static/js/async/60361.220540961d.js +1 -0
- package/dist/app_dist/static/js/{index.80d11a4cdf.js → index.fe939de902.js} +21 -21
- package/dist/auth.d.ts +2 -2
- package/dist/drizzle/{20260601032656_nasty_bloodscream → 20260601134112_hesitant_famine}/migration.sql +1 -1
- package/dist/drizzle/{20260601032656_nasty_bloodscream → 20260601134112_hesitant_famine}/snapshot.json +9 -1
- package/package.json +182 -159
- package/dist/app_dist/static/css/index.d50e827b5d.css +0 -1
- package/dist/app_dist/static/js/async/53583.e7908e306d.js +0 -1
- package/dist/app_dist/static/js/async/60361.750886dbad.js +0 -1
- /package/dist/app_dist/static/css/{71221.99359c869e.css → 51514.99359c869e.css} +0 -0
package/README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# Polywise
|
|
2
|
+
|
|
3
|
+
Polywise CLI for starting the local server and calling the backend API.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install -g polywise
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
Polywise CLI is designed for progressive discovery: start from the root help, narrow to a command group, inspect a concrete command, then run it.
|
|
14
|
+
|
|
15
|
+
### Root help
|
|
16
|
+
|
|
17
|
+
Use the root help to see the top-level command surface.
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
polywise -h
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
This level tells you:
|
|
24
|
+
|
|
25
|
+
- how to start the local server with `start`
|
|
26
|
+
- how to inspect a command schema with `input_schema`
|
|
27
|
+
- which API groups are available, such as `session`, `project`, and `search`
|
|
28
|
+
- which next-level `-h` command to run
|
|
29
|
+
|
|
30
|
+
### Group help
|
|
31
|
+
|
|
32
|
+
Use group help when you already know the domain you want to work in.
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
polywise session -h
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
This level shows:
|
|
39
|
+
|
|
40
|
+
- the available subcommands under `session`
|
|
41
|
+
- a short summary for each subcommand
|
|
42
|
+
- the next level to inspect with `polywise session <command> -h`
|
|
43
|
+
|
|
44
|
+
### Command help
|
|
45
|
+
|
|
46
|
+
Use command help before calling an unfamiliar RPC command.
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
polywise session create -h
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
This level shows:
|
|
53
|
+
|
|
54
|
+
- what the command does
|
|
55
|
+
- the HTTP method and API path behind it
|
|
56
|
+
- the parameter list
|
|
57
|
+
- the matching `polywise input_schema <rpc_path>` command
|
|
58
|
+
- concrete examples you can run directly
|
|
59
|
+
|
|
60
|
+
### Input schema
|
|
61
|
+
|
|
62
|
+
Use `input_schema` when you need the exact input structure for a command.
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
polywise input_schema session.create
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
This prints the RPC path, HTTP method, API path, parameter definitions, a CLI command skeleton, and a JSON template.
|
|
69
|
+
|
|
70
|
+
### Run commands
|
|
71
|
+
|
|
72
|
+
After checking help or schema, run the actual command.
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
polywise start
|
|
76
|
+
polywise start -d
|
|
77
|
+
polywise session create --title "Daily Review"
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
Docs: https://polywise.io/docs/intro
|