@izri/cli 0.0.0-stage → 0.1.0
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/LICENSE +21 -0
- package/README.md +33 -2
- package/lib/index.js +5202 -0
- package/package.json +64 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024-2026 Legendify
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,34 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @izri/cli
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
AI code review and QA for pull requests, from the terminal and CI. The
|
|
4
|
+
command-line interface for [Izri](https://izri.ai): check scope on the local
|
|
5
|
+
diff, trigger test runs, upload a CI job's test evidence, and run the revert
|
|
6
|
+
check, with the same `IZRI_API_TOKEN` you'd use with the MCP server.
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
npm install -g @izri/cli # Node.js 20 or newer
|
|
10
|
+
|
|
11
|
+
izri login # approve in the browser; saves a token for one organization
|
|
12
|
+
# or, in CI: export IZRI_API_TOKEN=izri_xxxxxxxxxxxxxxxx (wins over the login)
|
|
13
|
+
# both talk to https://api.izri.ai; IZRI_API_URL overrides it
|
|
14
|
+
|
|
15
|
+
izri init # add this repository to Izri as a project
|
|
16
|
+
izri run --watch
|
|
17
|
+
izri status
|
|
18
|
+
izri check-scope --base origin/main
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
For CI and agents, create the token with **Projects → Only these projects**
|
|
22
|
+
and pick the one project the job works on: it then can't reach the
|
|
23
|
+
organisation's other projects
|
|
24
|
+
([API tokens](https://izri.ai/docs/configure/api-tokens#limiting-a-token-to-some-projects)).
|
|
25
|
+
On GitHub, the [Izri GitHub Action](https://izri.ai/docs/install/github-action)
|
|
26
|
+
installs this CLI for you.
|
|
27
|
+
|
|
28
|
+
See the **[CLI guide](https://izri.ai/docs/install/cli)** for the full
|
|
29
|
+
quickstart: install, auth, every command, exit codes, CI examples and
|
|
30
|
+
troubleshooting.
|
|
31
|
+
|
|
32
|
+
## License
|
|
33
|
+
|
|
34
|
+
MIT. See `LICENSE`.
|