@taskcast/cli 0.1.1 → 0.1.2
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 +55 -0
- package/package.json +5 -5
package/README.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# @taskcast/cli
|
|
2
|
+
|
|
3
|
+
Standalone [Taskcast](https://github.com/weightwave/taskcast) server. Run a fully configured task tracking service with a single command.
|
|
4
|
+
|
|
5
|
+
## Quick Start
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx taskcast
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
The server starts on port `3721` by default.
|
|
12
|
+
|
|
13
|
+
## Options
|
|
14
|
+
|
|
15
|
+
```
|
|
16
|
+
Usage: taskcast [options] [command]
|
|
17
|
+
|
|
18
|
+
Commands:
|
|
19
|
+
start Start the Taskcast server (default)
|
|
20
|
+
|
|
21
|
+
Options:
|
|
22
|
+
-c, --config Path to config file
|
|
23
|
+
-p, --port Server port (default: 3721)
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Configuration
|
|
27
|
+
|
|
28
|
+
### Config File
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
npx taskcast -p 8080 -c taskcast.config.yaml
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Taskcast searches for config files in the current directory:
|
|
35
|
+
|
|
36
|
+
`taskcast.config.ts` > `.js` > `.mjs` > `.yaml` / `.yml` > `.json`
|
|
37
|
+
|
|
38
|
+
### Environment Variables
|
|
39
|
+
|
|
40
|
+
| Variable | Description | Default |
|
|
41
|
+
|----------|-------------|---------|
|
|
42
|
+
| `TASKCAST_PORT` | Server port | `3721` |
|
|
43
|
+
| `TASKCAST_AUTH_MODE` | `none` \| `jwt` \| `custom` | `none` |
|
|
44
|
+
| `TASKCAST_JWT_SECRET` | JWT HMAC secret | -- |
|
|
45
|
+
| `TASKCAST_REDIS_URL` | Redis connection URL | -- |
|
|
46
|
+
| `TASKCAST_POSTGRES_URL` | PostgreSQL connection URL | -- |
|
|
47
|
+
| `TASKCAST_LOG_LEVEL` | `debug` \| `info` \| `warn` \| `error` | `info` |
|
|
48
|
+
|
|
49
|
+
## Part of Taskcast
|
|
50
|
+
|
|
51
|
+
This is the CLI package. See the [Taskcast monorepo](https://github.com/weightwave/taskcast) for the full project.
|
|
52
|
+
|
|
53
|
+
## License
|
|
54
|
+
|
|
55
|
+
[MIT](https://github.com/weightwave/taskcast/blob/main/LICENSE)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@taskcast/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Standalone Taskcast server CLI — run with npx taskcast.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
"commander": "^12.1.0",
|
|
36
36
|
"ioredis": "^5.4.0",
|
|
37
37
|
"postgres": "^3.4.5",
|
|
38
|
-
"@taskcast/
|
|
39
|
-
"@taskcast/postgres": "0.1.
|
|
40
|
-
"@taskcast/redis": "0.1.
|
|
41
|
-
"@taskcast/
|
|
38
|
+
"@taskcast/server": "0.1.2",
|
|
39
|
+
"@taskcast/postgres": "0.1.2",
|
|
40
|
+
"@taskcast/redis": "0.1.2",
|
|
41
|
+
"@taskcast/core": "0.1.2"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"typescript": "^5.7.0"
|