@trawlme/cli 0.1.0 → 1.7.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 +31 -2
- package/dist/index.js +0 -0
- package/package.json +12 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Pierre Brisorgueil
|
|
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,11 +1,17 @@
|
|
|
1
1
|
# trawl-cli
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://github.com/comes-io/trawl_cli/actions/workflows/CI.yml)
|
|
4
|
+
[](https://www.npmjs.com/package/@trawlme/cli)
|
|
5
|
+
[](https://opensource.org/licenses/MIT)
|
|
6
|
+
|
|
7
|
+
Command-line client for [Trawl](https://trawl.me) — manage your scraps from the terminal.
|
|
8
|
+
|
|
9
|
+
> ⚠️ **Early stage.** APIs may change before `1.0`. Pin a version if you depend on this in CI.
|
|
4
10
|
|
|
5
11
|
## Install
|
|
6
12
|
|
|
7
13
|
```bash
|
|
8
|
-
npm install -g @
|
|
14
|
+
npm install -g @trawlme/cli
|
|
9
15
|
```
|
|
10
16
|
|
|
11
17
|
## Authentication
|
|
@@ -55,3 +61,26 @@ trawl scraps account status <id> [--json]
|
|
|
55
61
|
| Variable | Description |
|
|
56
62
|
|---------------|------------------------------------------------------|
|
|
57
63
|
| `TRAWL_TOKEN` | JWT token — bypasses login prompt, useful for CI/CD |
|
|
64
|
+
| `TRAWL_API_URL` | Override the default API URL (`https://api.trawl.me`) |
|
|
65
|
+
|
|
66
|
+
## API documentation
|
|
67
|
+
|
|
68
|
+
The Trawl API is documented at [trawl.me/api/spec.json](https://trawl.me/api/spec.json) (OpenAPI 3).
|
|
69
|
+
|
|
70
|
+
## Development
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
npm install
|
|
74
|
+
npm run build
|
|
75
|
+
npm test
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
This project uses `legacy-peer-deps` (see `.npmrc`) due to a transitive peer-dependency conflict. Run `npm install` from the project root, not from cloned subdirs.
|
|
79
|
+
|
|
80
|
+
## Contributing
|
|
81
|
+
|
|
82
|
+
Issues and PRs are welcome — please open an issue first for non-trivial changes so we can align on direction.
|
|
83
|
+
|
|
84
|
+
## License
|
|
85
|
+
|
|
86
|
+
MIT — see [LICENSE](./LICENSE).
|
package/dist/index.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trawlme/cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "Trawl CLI — manage scraps from the terminal",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -8,7 +8,8 @@
|
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
10
|
"dist",
|
|
11
|
-
"README.md"
|
|
11
|
+
"README.md",
|
|
12
|
+
"LICENSE"
|
|
12
13
|
],
|
|
13
14
|
"engines": {
|
|
14
15
|
"node": ">=18"
|
|
@@ -29,7 +30,15 @@
|
|
|
29
30
|
"cli"
|
|
30
31
|
],
|
|
31
32
|
"author": "Pierre Brisorgueil",
|
|
32
|
-
"license": "
|
|
33
|
+
"license": "MIT",
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "git+https://github.com/comes-io/trawl_cli.git"
|
|
37
|
+
},
|
|
38
|
+
"homepage": "https://trawl.me",
|
|
39
|
+
"bugs": {
|
|
40
|
+
"url": "https://github.com/comes-io/trawl_cli/issues"
|
|
41
|
+
},
|
|
33
42
|
"dependencies": {
|
|
34
43
|
"chalk": "^5.6.2",
|
|
35
44
|
"commander": "^14.0.3",
|