archive-labs 1.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/LICENSE +17 -0
- package/README.md +63 -0
- package/dist/cli.js +8747 -0
- package/dist/recentHistory.js +205 -0
- package/logo.png +0 -0
- package/package.json +56 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
https://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
Copyright 2026 Archive Labs
|
|
6
|
+
|
|
7
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
you may not use this file except in compliance with the License.
|
|
9
|
+
You may obtain a copy of the License at
|
|
10
|
+
|
|
11
|
+
https://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
See the License for the specific language governing permissions and
|
|
17
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Archive Labs CLI
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img src="./logo.png" alt="Archive Labs" width="96" />
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
Archive Labs CLI is the terminal client for Archive.
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install -g archive-labs
|
|
13
|
+
archive
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
No global install:
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npx archive-labs
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## Use
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
archive login
|
|
26
|
+
archive status
|
|
27
|
+
archive sync
|
|
28
|
+
archive check pr 182 --repository acme/payments --ci --json --strict
|
|
29
|
+
archive impact diff --json
|
|
30
|
+
archive release risk v1.2.0
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Common Commands
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
archive init
|
|
37
|
+
archive recent
|
|
38
|
+
archive doctor
|
|
39
|
+
archive ping
|
|
40
|
+
archive help
|
|
41
|
+
archive version
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Output
|
|
45
|
+
|
|
46
|
+
Use `--json` when you need machine-readable output.
|
|
47
|
+
|
|
48
|
+
## Config
|
|
49
|
+
|
|
50
|
+
CLI config is stored under `~/.archive-labs/config.json`.
|
|
51
|
+
|
|
52
|
+
Environment variables:
|
|
53
|
+
|
|
54
|
+
- `ARCHIVE_TOKEN`
|
|
55
|
+
- `ARCHIVE_LABS_TOKEN`
|
|
56
|
+
- `ARCHIVE_GITHUB_TOKEN`
|
|
57
|
+
|
|
58
|
+
## Publish
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
npm pack
|
|
62
|
+
npm publish
|
|
63
|
+
```
|