@crawlee-cloud/cli 0.1.3 → 0.1.5
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 +23 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ npx @crawlee-cloud/cli <command>
|
|
|
21
21
|
```bash
|
|
22
22
|
crawlee-cloud <command> [options]
|
|
23
23
|
# Alias
|
|
24
|
-
|
|
24
|
+
crc <command> [options]
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
### Commands
|
|
@@ -36,15 +36,34 @@ cc <command> [options]
|
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
38
|
# Login
|
|
39
|
-
|
|
39
|
+
crc login
|
|
40
40
|
|
|
41
41
|
# Push the current directory as an Actor
|
|
42
|
-
|
|
42
|
+
crc push my-actor
|
|
43
43
|
|
|
44
44
|
# Run the Actor
|
|
45
|
-
|
|
45
|
+
crc call my-actor
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
+
## Configuration
|
|
49
|
+
|
|
50
|
+
Connect to your self-hosted Crawlee Cloud server:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
# Login to your server
|
|
54
|
+
crc login --url https://your-server.com
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
You'll be prompted for your API token. Credentials are stored in `~/.crawlee-cloud/config.json`.
|
|
58
|
+
|
|
59
|
+
### Environment Variables
|
|
60
|
+
|
|
61
|
+
| Variable | Description |
|
|
62
|
+
|----------|-------------|
|
|
63
|
+
| `CRAWLEE_CLOUD_API_URL` | Override API base URL |
|
|
64
|
+
| `CRAWLEE_CLOUD_TOKEN` | Override API token |
|
|
65
|
+
|
|
48
66
|
## Documentation
|
|
49
67
|
|
|
50
68
|
For full documentation, visit the [Crawlee Cloud Documentation](https://github.com/crawlee-cloud/crawlee-cloud).
|
|
69
|
+
|