@temps-sdk/cli 0.1.37 → 0.2.0-beta.1
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 +14 -0
- package/dist/index.js +32148 -34152
- package/dist/skills/temps/SKILL.md +148 -0
- package/dist/skills/temps/agents/openai.yaml +7 -0
- package/dist/skills/temps/evals/evals.json +112 -0
- package/dist/skills/temps/howtos/backup-recovery.md +41 -0
- package/dist/skills/temps/howtos/ci-automation.md +17 -0
- package/dist/skills/temps/howtos/curated-services.md +69 -0
- package/dist/skills/temps/howtos/deploy-application.md +36 -0
- package/dist/skills/temps/howtos/diagnose-deployment.md +17 -0
- package/dist/skills/temps/howtos/edge-rules.md +135 -0
- package/dist/skills/temps/howtos/framework-routing.md +28 -0
- package/dist/skills/temps/howtos/javascript-typescript.md +57 -0
- package/dist/skills/temps/howtos/managed-services.md +83 -0
- package/dist/skills/temps/howtos/observability-onboarding.md +52 -0
- package/dist/skills/temps/howtos/projects-and-monorepos.md +50 -0
- package/dist/skills/temps/howtos/python.md +42 -0
- package/dist/skills/temps/howtos/rust.md +30 -0
- package/dist/skills/temps/references/cli-runtime.md +60 -0
- package/dist/skills/temps/references/commands/INDEX.md +102 -0
- package/dist/skills/temps/references/commands/access.md +53 -0
- package/dist/skills/temps/references/commands/ai.md +47 -0
- package/dist/skills/temps/references/commands/alarms.md +91 -0
- package/dist/skills/temps/references/commands/analytics.md +568 -0
- package/dist/skills/temps/references/commands/apikeys.md +98 -0
- package/dist/skills/temps/references/commands/audit.md +41 -0
- package/dist/skills/temps/references/commands/backups.md +269 -0
- package/dist/skills/temps/references/commands/cloud.md +385 -0
- package/dist/skills/temps/references/commands/cluster.md +31 -0
- package/dist/skills/temps/references/commands/configure.md +62 -0
- package/dist/skills/temps/references/commands/containers.md +110 -0
- package/dist/skills/temps/references/commands/context.md +55 -0
- package/dist/skills/temps/references/commands/custom-domains.md +98 -0
- package/dist/skills/temps/references/commands/data.md +87 -0
- package/dist/skills/temps/references/commands/delivery-profiles.md +69 -0
- package/dist/skills/temps/references/commands/delivery.md +116 -0
- package/dist/skills/temps/references/commands/deploy-image.md +23 -0
- package/dist/skills/temps/references/commands/deploy-local-image.md +28 -0
- package/dist/skills/temps/references/commands/deploy-static.md +23 -0
- package/dist/skills/temps/references/commands/deploy.md +23 -0
- package/dist/skills/temps/references/commands/deployments.md +173 -0
- package/dist/skills/temps/references/commands/dns-provider.md +196 -0
- package/dist/skills/temps/references/commands/dns.md +181 -0
- package/dist/skills/temps/references/commands/domains.md +188 -0
- package/dist/skills/temps/references/commands/drop.md +23 -0
- package/dist/skills/temps/references/commands/dsn.md +84 -0
- package/dist/skills/temps/references/commands/edge-rules.md +218 -0
- package/dist/skills/temps/references/commands/email-domains.md +160 -0
- package/dist/skills/temps/references/commands/email-providers.md +96 -0
- package/dist/skills/temps/references/commands/emails.md +79 -0
- package/dist/skills/temps/references/commands/env-pull.md +18 -0
- package/dist/skills/temps/references/commands/env-push.md +19 -0
- package/dist/skills/temps/references/commands/environments.md +500 -0
- package/dist/skills/temps/references/commands/errors.md +763 -0
- package/dist/skills/temps/references/commands/facets.md +63 -0
- package/dist/skills/temps/references/commands/flags.md +246 -0
- package/dist/skills/temps/references/commands/funnels.md +92 -0
- package/dist/skills/temps/references/commands/incidents.md +115 -0
- package/dist/skills/temps/references/commands/init.md +18 -0
- package/dist/skills/temps/references/commands/instances.md +62 -0
- package/dist/skills/temps/references/commands/instantiations.md +57 -0
- package/dist/skills/temps/references/commands/ip-access.md +153 -0
- package/dist/skills/temps/references/commands/link.md +17 -0
- package/dist/skills/temps/references/commands/load-balancer.md +73 -0
- package/dist/skills/temps/references/commands/login.md +22 -0
- package/dist/skills/temps/references/commands/logout.md +16 -0
- package/dist/skills/temps/references/commands/logs.md +290 -0
- package/dist/skills/temps/references/commands/mcp-servers.md +74 -0
- package/dist/skills/temps/references/commands/mcp.md +72 -0
- package/dist/skills/temps/references/commands/metrics.md +79 -0
- package/dist/skills/temps/references/commands/migrate.md +118 -0
- package/dist/skills/temps/references/commands/monitors.md +162 -0
- package/dist/skills/temps/references/commands/network-policy.md +120 -0
- package/dist/skills/temps/references/commands/nodes.md +254 -0
- package/dist/skills/temps/references/commands/notification-preferences.md +47 -0
- package/dist/skills/temps/references/commands/notifications.md +233 -0
- package/dist/skills/temps/references/commands/open.md +19 -0
- package/dist/skills/temps/references/commands/otel-forward.md +226 -0
- package/dist/skills/temps/references/commands/otel.md +38 -0
- package/dist/skills/temps/references/commands/platform.md +151 -0
- package/dist/skills/temps/references/commands/plugin.md +222 -0
- package/dist/skills/temps/references/commands/presets.md +37 -0
- package/dist/skills/temps/references/commands/project-groups.md +292 -0
- package/dist/skills/temps/references/commands/projects.md +329 -0
- package/dist/skills/temps/references/commands/providers.md +290 -0
- package/dist/skills/temps/references/commands/proxy-logs.md +85 -0
- package/dist/skills/temps/references/commands/revenue.md +52 -0
- package/dist/skills/temps/references/commands/rollback.md +20 -0
- package/dist/skills/temps/references/commands/runtime-logs.md +21 -0
- package/dist/skills/temps/references/commands/sandbox.md +518 -0
- package/dist/skills/temps/references/commands/scans.md +113 -0
- package/dist/skills/temps/references/commands/secrets.md +75 -0
- package/dist/skills/temps/references/commands/server.md +50 -0
- package/dist/skills/temps/references/commands/services.md +642 -0
- package/dist/skills/temps/references/commands/session-replay.md +84 -0
- package/dist/skills/temps/references/commands/settings.md +84 -0
- package/dist/skills/temps/references/commands/setup.md +25 -0
- package/dist/skills/temps/references/commands/skills.md +93 -0
- package/dist/skills/temps/references/commands/start.md +21 -0
- package/dist/skills/temps/references/commands/status-pages.md +455 -0
- package/dist/skills/temps/references/commands/status.md +19 -0
- package/dist/skills/temps/references/commands/stop.md +16 -0
- package/dist/skills/temps/references/commands/surveys.md +165 -0
- package/dist/skills/temps/references/commands/teams.md +143 -0
- package/dist/skills/temps/references/commands/templates.md +67 -0
- package/dist/skills/temps/references/commands/tokens.md +77 -0
- package/dist/skills/temps/references/commands/traces.md +100 -0
- package/dist/skills/temps/references/commands/traefik-discovery.md +123 -0
- package/dist/skills/temps/references/commands/tunnels.md +139 -0
- package/dist/skills/temps/references/commands/up.md +27 -0
- package/dist/skills/temps/references/commands/users.md +115 -0
- package/dist/skills/temps/references/commands/webhooks.md +171 -0
- package/dist/skills/temps/references/commands/whoami.md +15 -0
- package/dist/skills/temps/references/commands/workflow.md +44 -0
- package/dist/skills/temps/references/commands/workflows.md +216 -0
- package/dist/skills/temps/references/observability/analytics.md +146 -0
- package/dist/skills/temps/references/observability/error-tracking.md +73 -0
- package/dist/skills/temps/references/observability/hygiene.md +112 -0
- package/dist/skills/temps/references/observability/logs.md +43 -0
- package/dist/skills/temps/references/observability/metrics.md +41 -0
- package/dist/skills/temps/references/observability/tracing.md +392 -0
- package/dist/skills/temps/references/runtime-contract.md +115 -0
- package/dist/skills/temps/references/workflows/platform-operations.md +164 -0
- package/dist/skills/temps/scripts/detect_project_capabilities.py +239 -0
- package/dist/skills/temps/scripts/generate_command_references.py +144 -0
- package/dist/skills/temps/scripts/test_detect_project_capabilities.py +124 -0
- package/dist/skills/temps/scripts/test_generate_command_references.py +128 -0
- package/dist/skills/temps/scripts/test_validate_skill.py +43 -0
- package/dist/skills/temps/scripts/validate_skill.py +97 -0
- package/package.json +7 -2
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `teams` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `teams`
|
|
8
|
+
|
|
9
|
+
Manage teams and project access
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List all teams
|
|
14
|
+
- `create` (`add`) - Create a new team
|
|
15
|
+
- `show` - Show a team with its members and projects
|
|
16
|
+
- `update` - Update a team name or description
|
|
17
|
+
- `delete` (`rm`) - Delete a team (removes its members and project grants)
|
|
18
|
+
- `members` - Manage team membership
|
|
19
|
+
|
|
20
|
+
### `teams list` (alias: `ls`)
|
|
21
|
+
|
|
22
|
+
List all teams
|
|
23
|
+
|
|
24
|
+
**Options:**
|
|
25
|
+
|
|
26
|
+
| Flag | Description | Default | Required |
|
|
27
|
+
|------|-------------|---------|----------|
|
|
28
|
+
| `--json` | Output in JSON format | - | No |
|
|
29
|
+
|
|
30
|
+
### `teams create` (alias: `add`)
|
|
31
|
+
|
|
32
|
+
Create a new team
|
|
33
|
+
|
|
34
|
+
**Options:**
|
|
35
|
+
|
|
36
|
+
| Flag | Description | Default | Required |
|
|
37
|
+
|------|-------------|---------|----------|
|
|
38
|
+
| `-n, --name <name>` | Team name | - | No |
|
|
39
|
+
| `-s, --slug <slug>` | URL-safe slug ([a-z0-9-]+) | - | No |
|
|
40
|
+
| `-d, --description <description>` | Team description | - | No |
|
|
41
|
+
| `--json` | Output in JSON format | - | No |
|
|
42
|
+
|
|
43
|
+
### `teams show`
|
|
44
|
+
|
|
45
|
+
Show a team with its members and projects
|
|
46
|
+
|
|
47
|
+
**Usage:** `teams show <team> [options]`
|
|
48
|
+
|
|
49
|
+
**Options:**
|
|
50
|
+
|
|
51
|
+
| Flag | Description | Default | Required |
|
|
52
|
+
|------|-------------|---------|----------|
|
|
53
|
+
| `--json` | Output in JSON format | - | No |
|
|
54
|
+
|
|
55
|
+
### `teams update`
|
|
56
|
+
|
|
57
|
+
Update a team name or description
|
|
58
|
+
|
|
59
|
+
**Usage:** `teams update <team> [options]`
|
|
60
|
+
|
|
61
|
+
**Options:**
|
|
62
|
+
|
|
63
|
+
| Flag | Description | Default | Required |
|
|
64
|
+
|------|-------------|---------|----------|
|
|
65
|
+
| `-n, --name <name>` | New team name | - | No |
|
|
66
|
+
| `-d, --description <description>` | New description | - | No |
|
|
67
|
+
| `--json` | Output in JSON format | - | No |
|
|
68
|
+
|
|
69
|
+
### `teams delete` (alias: `rm`)
|
|
70
|
+
|
|
71
|
+
Delete a team (removes its members and project grants)
|
|
72
|
+
|
|
73
|
+
**Usage:** `teams delete <team> [options]`
|
|
74
|
+
|
|
75
|
+
**Options:**
|
|
76
|
+
|
|
77
|
+
| Flag | Description | Default | Required |
|
|
78
|
+
|------|-------------|---------|----------|
|
|
79
|
+
| `-y, --yes` | Skip confirmation | - | No |
|
|
80
|
+
|
|
81
|
+
### `teams members`
|
|
82
|
+
|
|
83
|
+
Manage team membership
|
|
84
|
+
|
|
85
|
+
**Subcommands:**
|
|
86
|
+
|
|
87
|
+
- `list` (`ls`) - List a team's members
|
|
88
|
+
- `add` - Add a user to a team
|
|
89
|
+
- `set-role` - Change a member's role in the team
|
|
90
|
+
- `remove` (`rm`) - Remove a user from a team
|
|
91
|
+
|
|
92
|
+
#### `teams members list` (alias: `ls`)
|
|
93
|
+
|
|
94
|
+
List a team's members
|
|
95
|
+
|
|
96
|
+
**Usage:** `teams members list <team> [options]`
|
|
97
|
+
|
|
98
|
+
**Options:**
|
|
99
|
+
|
|
100
|
+
| Flag | Description | Default | Required |
|
|
101
|
+
|------|-------------|---------|----------|
|
|
102
|
+
| `--json` | Output in JSON format | - | No |
|
|
103
|
+
|
|
104
|
+
#### `teams members add`
|
|
105
|
+
|
|
106
|
+
Add a user to a team
|
|
107
|
+
|
|
108
|
+
**Usage:** `teams members add <team> [options]`
|
|
109
|
+
|
|
110
|
+
**Options:**
|
|
111
|
+
|
|
112
|
+
| Flag | Description | Default | Required |
|
|
113
|
+
|------|-------------|---------|----------|
|
|
114
|
+
| `-u, --user <user>` | User id or email | - | No |
|
|
115
|
+
| `-r, --role <role>` | Team role (owner\|admin\|deployer\|viewer) | - | No |
|
|
116
|
+
| `--json` | Output in JSON format | - | No |
|
|
117
|
+
|
|
118
|
+
#### `teams members set-role`
|
|
119
|
+
|
|
120
|
+
Change a member's role in the team
|
|
121
|
+
|
|
122
|
+
**Usage:** `teams members set-role <team> [options]`
|
|
123
|
+
|
|
124
|
+
**Options:**
|
|
125
|
+
|
|
126
|
+
| Flag | Description | Default | Required |
|
|
127
|
+
|------|-------------|---------|----------|
|
|
128
|
+
| `-u, --user <user>` | User id or email | - | No |
|
|
129
|
+
| `-r, --role <role>` | Team role (owner\|admin\|deployer\|viewer) | - | No |
|
|
130
|
+
| `--json` | Output in JSON format | - | No |
|
|
131
|
+
|
|
132
|
+
#### `teams members remove` (alias: `rm`)
|
|
133
|
+
|
|
134
|
+
Remove a user from a team
|
|
135
|
+
|
|
136
|
+
**Usage:** `teams members remove <team> [options]`
|
|
137
|
+
|
|
138
|
+
**Options:**
|
|
139
|
+
|
|
140
|
+
| Flag | Description | Default | Required |
|
|
141
|
+
|------|-------------|---------|----------|
|
|
142
|
+
| `-u, --user <user>` | User id or email | - | No |
|
|
143
|
+
| `-y, --yes` | Skip confirmation | - | No |
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `templates` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `templates` (alias: `tpl`)
|
|
8
|
+
|
|
9
|
+
Browse templates and create them
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List available templates
|
|
14
|
+
- `create` - Create a template: every service (an app, what `projects` manages), the databases it needs, its shared variables and path routes
|
|
15
|
+
- `validate` - Validate a Temps-native template YAML file or directory offline
|
|
16
|
+
|
|
17
|
+
### `templates list` (alias: `ls`)
|
|
18
|
+
|
|
19
|
+
List available templates
|
|
20
|
+
|
|
21
|
+
**Options:**
|
|
22
|
+
|
|
23
|
+
| Flag | Description | Default | Required |
|
|
24
|
+
|------|-------------|---------|----------|
|
|
25
|
+
| `--json` | Output in JSON format | - | No |
|
|
26
|
+
| `--kind <kind>` | Filter by kind: starter or app | - | No |
|
|
27
|
+
|
|
28
|
+
### `templates create`
|
|
29
|
+
|
|
30
|
+
Create a template: every service (an app, what `projects` manages), the databases it needs, its shared variables and path routes
|
|
31
|
+
|
|
32
|
+
**Usage:** `templates create <slug> [options]`
|
|
33
|
+
|
|
34
|
+
**Options:**
|
|
35
|
+
|
|
36
|
+
| Flag | Description | Default | Required |
|
|
37
|
+
|------|-------------|---------|----------|
|
|
38
|
+
| `--project <name>` | Put the services in a new project (group) with this name; the default for several services | - | No |
|
|
39
|
+
| `--into <project>` | Add the services to an existing project (group), by slug or id (see: project-groups list) | - | No |
|
|
40
|
+
| `--standalone` | Create a one-service template without a project (group); the default for one service | - | No |
|
|
41
|
+
| `--name <service=name...>` | Name a created service; a one-service template also takes a bare name | - | No |
|
|
42
|
+
| `--env <[service:]KEY=VALUE...>` | Set a variable; prefix the service when the template cannot tell | - | No |
|
|
43
|
+
| `--secret <[service:]KEY=VALUE...>` | Set a secret variable (write-only once stored); the value is visible in shell history, so prefer --secret-file | - | No |
|
|
44
|
+
| `--secret-file <[service:]KEY=PATH...>` | Set a secret variable from a file, byte-for-byte (PATH - reads stdin) | - | No |
|
|
45
|
+
| `--trim-trailing-newline` | Drop exactly one trailing newline from each --secret-file value | - | No |
|
|
46
|
+
| `--database <type=new\|type=new:name\|type=id...>` | Create or link each database the template needs (default: create) | - | No |
|
|
47
|
+
| `--fork-connection <id>` | Starters only: copy the code into a new repository on this git connection | - | No |
|
|
48
|
+
| `--repo-name <name>` | Name of the new repository (with --fork-connection) | - | No |
|
|
49
|
+
| `--repo-owner <owner>` | Account or organization for the new repository | - | No |
|
|
50
|
+
| `--public-repo` | Make the new repository public (private by default) | - | No |
|
|
51
|
+
| `--no-auto-deploy` | Do not deploy on push to the new repository | - | No |
|
|
52
|
+
| `--idempotency-key <key>` | Reuse a key to get the same result instead of creating twice | - | No |
|
|
53
|
+
| `--no-wait` | Return right away instead of waiting until it finishes | - | No |
|
|
54
|
+
| `--timeout <minutes>` | Stop waiting after this long (default 30); it keeps running on the server | - | No |
|
|
55
|
+
| `--json` | Output in JSON format | - | No |
|
|
56
|
+
|
|
57
|
+
### `templates validate`
|
|
58
|
+
|
|
59
|
+
Validate a Temps-native template YAML file or directory offline
|
|
60
|
+
|
|
61
|
+
**Usage:** `templates validate <path> [options]`
|
|
62
|
+
|
|
63
|
+
**Options:**
|
|
64
|
+
|
|
65
|
+
| Flag | Description | Default | Required |
|
|
66
|
+
|------|-------------|---------|----------|
|
|
67
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `tokens` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `tokens` (alias: `token`)
|
|
8
|
+
|
|
9
|
+
Manage deployment tokens for project API access (KV, Blob, etc.)
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` (`ls`) - List deployment tokens for a project
|
|
14
|
+
- `create` (`add`) - Create a new deployment token
|
|
15
|
+
- `show` (`get`) - Show deployment token details
|
|
16
|
+
- `delete` (`rm`) - Delete a deployment token
|
|
17
|
+
- `permissions` - List available deployment token permissions
|
|
18
|
+
|
|
19
|
+
### `tokens list` (alias: `ls`)
|
|
20
|
+
|
|
21
|
+
List deployment tokens for a project
|
|
22
|
+
|
|
23
|
+
**Options:**
|
|
24
|
+
|
|
25
|
+
| Flag | Description | Default | Required |
|
|
26
|
+
|------|-------------|---------|----------|
|
|
27
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
28
|
+
| `--json` | Output in JSON format | - | No |
|
|
29
|
+
|
|
30
|
+
### `tokens create` (alias: `add`)
|
|
31
|
+
|
|
32
|
+
Create a new deployment token
|
|
33
|
+
|
|
34
|
+
**Options:**
|
|
35
|
+
|
|
36
|
+
| Flag | Description | Default | Required |
|
|
37
|
+
|------|-------------|---------|----------|
|
|
38
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
39
|
+
| `-n, --name <name>` | Token name | - | No |
|
|
40
|
+
| `--permissions <permissions>` | Comma-separated permissions (e.g., "visitors:enrich,emails:send" or "*" for full access) | - | No |
|
|
41
|
+
| `-e, --expires-in <days>` | Expires in N days (7, 30, 90, 365, or "never") | - | No |
|
|
42
|
+
| `-y, --yes` | Skip confirmation prompts (for automation) | - | No |
|
|
43
|
+
|
|
44
|
+
### `tokens show` (alias: `get`)
|
|
45
|
+
|
|
46
|
+
Show deployment token details
|
|
47
|
+
|
|
48
|
+
**Options:**
|
|
49
|
+
|
|
50
|
+
| Flag | Description | Default | Required |
|
|
51
|
+
|------|-------------|---------|----------|
|
|
52
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
53
|
+
| `--id <id>` | Token ID | - | Yes |
|
|
54
|
+
| `--json` | Output in JSON format | - | No |
|
|
55
|
+
|
|
56
|
+
### `tokens delete` (alias: `rm`)
|
|
57
|
+
|
|
58
|
+
Delete a deployment token
|
|
59
|
+
|
|
60
|
+
**Options:**
|
|
61
|
+
|
|
62
|
+
| Flag | Description | Default | Required |
|
|
63
|
+
|------|-------------|---------|----------|
|
|
64
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
65
|
+
| `--id <id>` | Token ID | - | Yes |
|
|
66
|
+
| `-f, --force` | Skip confirmation | - | No |
|
|
67
|
+
| `-y, --yes` | Skip confirmation (alias for --force) | - | No |
|
|
68
|
+
|
|
69
|
+
### `tokens permissions`
|
|
70
|
+
|
|
71
|
+
List available deployment token permissions
|
|
72
|
+
|
|
73
|
+
**Options:**
|
|
74
|
+
|
|
75
|
+
| Flag | Description | Default | Required |
|
|
76
|
+
|------|-------------|---------|----------|
|
|
77
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `traces` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `traces` (alias: `trace`)
|
|
8
|
+
|
|
9
|
+
Inspect distributed traces and operation latency
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `span-stats` (`operations`, `ops`) - Rank operations by time spent, latency percentiles, or inconsistency
|
|
14
|
+
- `trend` - Show how one operation's latency moved, day by day, with deployments
|
|
15
|
+
- `regressions` - List the operations that got slower or faster after a deployment
|
|
16
|
+
- `breakdown` - Show where the time inside one operation goes: queries, downstream calls, its own code
|
|
17
|
+
- `page` - Compare a page's web vitals with the backend requests that served it
|
|
18
|
+
|
|
19
|
+
### `traces span-stats` (alias: `operations`, `ops`)
|
|
20
|
+
|
|
21
|
+
Rank operations by time spent, latency percentiles, or inconsistency
|
|
22
|
+
|
|
23
|
+
**Options:**
|
|
24
|
+
|
|
25
|
+
| Flag | Description | Default | Required |
|
|
26
|
+
|------|-------------|---------|----------|
|
|
27
|
+
| `--project-id <id>` | Project ID | - | No |
|
|
28
|
+
| `--project-ids <ids>` | Comma-separated project IDs to rank across, e.g. 4,5,6 (max 50) | - | No |
|
|
29
|
+
| `--since <duration>` | Relative window: 30m, 24h, 7d (max 31d) | `24h` | No |
|
|
30
|
+
| `--start-time <iso>` | Window start (ISO 8601); overrides --since | - | No |
|
|
31
|
+
| `--end-time <iso>` | Window end (ISO 8601); defaults to now | - | No |
|
|
32
|
+
| `--service <name>` | Only this service | - | No |
|
|
33
|
+
| `--operation <name>` | Only this operation (exact span name) | - | No |
|
|
34
|
+
| `--search <text>` | Only operations whose name contains this text | - | No |
|
|
35
|
+
| `--kind <kind>` | Span kind (server, client, internal, producer, consumer, unspecified) | - | No |
|
|
36
|
+
| `--status <status>` | Span status (ok, error, unset) | - | No |
|
|
37
|
+
| `--environment-id <id>` | Only this environment | - | No |
|
|
38
|
+
| `--deployment-id <id>` | Only this deployment | - | No |
|
|
39
|
+
| `--attributes <pairs>` | Span attribute filters, e.g. db.system=postgresql | - | No |
|
|
40
|
+
| `--min-duration-ms <ms>` | Ignore spans faster than this | - | No |
|
|
41
|
+
| `--min-count <n>` | Drop operations with fewer samples than this | - | No |
|
|
42
|
+
| `--apdex-ms <ms>` | Apdex threshold: calls at or under this satisfy, up to 4x tolerate (default 500) | - | No |
|
|
43
|
+
| `--sort-by <field>` | Ranking (total_time, p50, p95, p99, max, avg, stddev, count, errors, error_rate, variability, tail_ratio) | `total_time` | No |
|
|
44
|
+
| `--sort-order <order>` | asc or desc | `desc` | No |
|
|
45
|
+
| `--limit <n>` | Rows to show (max 100) | `20` | No |
|
|
46
|
+
| `--offset <n>` | Page offset | - | No |
|
|
47
|
+
| `--json` | Output in JSON format | - | No |
|
|
48
|
+
|
|
49
|
+
### `traces trend`
|
|
50
|
+
|
|
51
|
+
Show how one operation's latency moved, day by day, with deployments
|
|
52
|
+
|
|
53
|
+
**Options:**
|
|
54
|
+
|
|
55
|
+
| Flag | Description | Default | Required |
|
|
56
|
+
|------|-------------|---------|----------|
|
|
57
|
+
| `--project-id <id>` | Project ID | - | No |
|
|
58
|
+
| `--service <name>` | Service of the operation | - | No |
|
|
59
|
+
| `--operation <name>` | The operation (span name) | - | No |
|
|
60
|
+
| `--days <n>` | Days to show (max 30) | `14` | No |
|
|
61
|
+
| `--json` | Output the hourly points in JSON format | - | No |
|
|
62
|
+
|
|
63
|
+
### `traces regressions`
|
|
64
|
+
|
|
65
|
+
List the operations that got slower or faster after a deployment
|
|
66
|
+
|
|
67
|
+
**Options:**
|
|
68
|
+
|
|
69
|
+
| Flag | Description | Default | Required |
|
|
70
|
+
|------|-------------|---------|----------|
|
|
71
|
+
| `--project-id <id>` | Project ID | - | No |
|
|
72
|
+
| `--deployment-id <id>` | Deployment to compare across | - | No |
|
|
73
|
+
| `--json` | Output in JSON format | - | No |
|
|
74
|
+
|
|
75
|
+
### `traces breakdown`
|
|
76
|
+
|
|
77
|
+
Show where the time inside one operation goes: queries, downstream calls, its own code
|
|
78
|
+
|
|
79
|
+
**Options:**
|
|
80
|
+
|
|
81
|
+
| Flag | Description | Default | Required |
|
|
82
|
+
|------|-------------|---------|----------|
|
|
83
|
+
| `--project-id <id>` | Project ID | - | No |
|
|
84
|
+
| `--service <name>` | Service of the operation | - | No |
|
|
85
|
+
| `--operation <name>` | The operation (span name) | - | No |
|
|
86
|
+
| `--sample <kind>` | Calls to sample (recent, slow) | `recent` | No |
|
|
87
|
+
| `--attribute <key>` | Also split the calls by this attribute, e.g. http.route | - | No |
|
|
88
|
+
| `--json` | Output in JSON format | - | No |
|
|
89
|
+
|
|
90
|
+
### `traces page`
|
|
91
|
+
|
|
92
|
+
Compare a page's web vitals with the backend requests that served it
|
|
93
|
+
|
|
94
|
+
**Options:**
|
|
95
|
+
|
|
96
|
+
| Flag | Description | Default | Required |
|
|
97
|
+
|------|-------------|---------|----------|
|
|
98
|
+
| `--project-id <id>` | Project ID | - | No |
|
|
99
|
+
| `--path <path>` | The page path, e.g. /checkout | - | No |
|
|
100
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `traefik-discovery` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `traefik-discovery`
|
|
8
|
+
|
|
9
|
+
Route containers Temps did not deploy by reading their Traefik labels (an existing docker-compose / Coolify / Dokploy stack)
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `status` - Show whether Traefik label discovery is enabled on this server, which Docker network it watches, and what the last reconciliation found
|
|
14
|
+
- `routes` - Inspect and suppress individual auto-discovered routes
|
|
15
|
+
- `tls` - Manage HTTPS certificates for Traefik-discovered routes (ADR-041). A discovered host has cert_eligible=false by design — no container label ever causes issuance. These commands let an operator explicitly authorize it.
|
|
16
|
+
|
|
17
|
+
### `traefik-discovery status`
|
|
18
|
+
|
|
19
|
+
Show whether Traefik label discovery is enabled on this server, which Docker network it watches, and what the last reconciliation found
|
|
20
|
+
|
|
21
|
+
**Options:**
|
|
22
|
+
|
|
23
|
+
| Flag | Description | Default | Required |
|
|
24
|
+
|------|-------------|---------|----------|
|
|
25
|
+
| `--json` | Output in JSON format | - | No |
|
|
26
|
+
|
|
27
|
+
### `traefik-discovery routes`
|
|
28
|
+
|
|
29
|
+
Inspect and suppress individual auto-discovered routes
|
|
30
|
+
|
|
31
|
+
**Subcommands:**
|
|
32
|
+
|
|
33
|
+
- `list` (`ls`) - List every route discovered from Traefik labels, including the labelled containers that were found but not routed, and why
|
|
34
|
+
- `enable` - Restore a previously suppressed discovered route
|
|
35
|
+
- `disable` - Stop routing one discovered host without touching the container labels; the route stays listed so you can see what was found
|
|
36
|
+
|
|
37
|
+
#### `traefik-discovery routes list` (alias: `ls`)
|
|
38
|
+
|
|
39
|
+
List every route discovered from Traefik labels, including the labelled containers that were found but not routed, and why
|
|
40
|
+
|
|
41
|
+
**Options:**
|
|
42
|
+
|
|
43
|
+
| Flag | Description | Default | Required |
|
|
44
|
+
|------|-------------|---------|----------|
|
|
45
|
+
| `-p, --page <n>` | Page number (default: 1) | - | No |
|
|
46
|
+
| `--page-size <n>` | Page size (default: 20, max: 100) | - | No |
|
|
47
|
+
| `--json` | Output in JSON format | - | No |
|
|
48
|
+
|
|
49
|
+
#### `traefik-discovery routes enable`
|
|
50
|
+
|
|
51
|
+
Restore a previously suppressed discovered route
|
|
52
|
+
|
|
53
|
+
**Usage:** `traefik-discovery routes enable <host> [options]`
|
|
54
|
+
|
|
55
|
+
**Options:**
|
|
56
|
+
|
|
57
|
+
| Flag | Description | Default | Required |
|
|
58
|
+
|------|-------------|---------|----------|
|
|
59
|
+
| `--json` | Output in JSON format | - | No |
|
|
60
|
+
|
|
61
|
+
#### `traefik-discovery routes disable`
|
|
62
|
+
|
|
63
|
+
Stop routing one discovered host without touching the container labels; the route stays listed so you can see what was found
|
|
64
|
+
|
|
65
|
+
**Usage:** `traefik-discovery routes disable <host> [options]`
|
|
66
|
+
|
|
67
|
+
**Options:**
|
|
68
|
+
|
|
69
|
+
| Flag | Description | Default | Required |
|
|
70
|
+
|------|-------------|---------|----------|
|
|
71
|
+
| `--json` | Output in JSON format | - | No |
|
|
72
|
+
|
|
73
|
+
### `traefik-discovery tls`
|
|
74
|
+
|
|
75
|
+
Manage HTTPS certificates for Traefik-discovered routes (ADR-041). A discovered host has cert_eligible=false by design — no container label ever causes issuance. These commands let an operator explicitly authorize it.
|
|
76
|
+
|
|
77
|
+
**Subcommands:**
|
|
78
|
+
|
|
79
|
+
- `request` - Authorize Temps to obtain a Let's Encrypt certificate for a discovered route (Path A). The certificate renews automatically using the declared challenge type.
|
|
80
|
+
- `revoke` - Remove TLS authorization for a discovered route. Stops Temps from attempting renewal. Does NOT delete the certificate — use `temps domains delete <host>` to remove the certificate itself.
|
|
81
|
+
- `import` - Import certificates from a Traefik acme.json file (Path B). Use this to get HTTPS immediately at cutover — Traefik already holds the cert, so there is no outage window. Each host is validated (8-step X.509 chain) and a per-host result is returned. Add --dry-run to preview without writing.
|
|
82
|
+
|
|
83
|
+
#### `traefik-discovery tls request`
|
|
84
|
+
|
|
85
|
+
Authorize Temps to obtain a Let's Encrypt certificate for a discovered route (Path A). The certificate renews automatically using the declared challenge type.
|
|
86
|
+
|
|
87
|
+
**Usage:** `traefik-discovery tls request <host> [options]`
|
|
88
|
+
|
|
89
|
+
**Options:**
|
|
90
|
+
|
|
91
|
+
| Flag | Description | Default | Required |
|
|
92
|
+
|------|-------------|---------|----------|
|
|
93
|
+
| `--challenge-type <type>` | Challenge type: http-01 (default) or dns-01 | `http-01` | No |
|
|
94
|
+
| `--acknowledge-manual-dns-renewal` | Confirm you accept manual DNS renewal when no auto-manage DNS zone is configured | - | No |
|
|
95
|
+
| `--json` | Output in JSON format | - | No |
|
|
96
|
+
|
|
97
|
+
#### `traefik-discovery tls revoke`
|
|
98
|
+
|
|
99
|
+
Remove TLS authorization for a discovered route. Stops Temps from attempting renewal. Does NOT delete the certificate — use `temps domains delete <host>` to remove the certificate itself.
|
|
100
|
+
|
|
101
|
+
**Usage:** `traefik-discovery tls revoke <host> [options]`
|
|
102
|
+
|
|
103
|
+
**Options:**
|
|
104
|
+
|
|
105
|
+
| Flag | Description | Default | Required |
|
|
106
|
+
|------|-------------|---------|----------|
|
|
107
|
+
| `--json` | Output in JSON format | - | No |
|
|
108
|
+
|
|
109
|
+
#### `traefik-discovery tls import`
|
|
110
|
+
|
|
111
|
+
Import certificates from a Traefik acme.json file (Path B). Use this to get HTTPS immediately at cutover — Traefik already holds the cert, so there is no outage window. Each host is validated (8-step X.509 chain) and a per-host result is returned. Add --dry-run to preview without writing.
|
|
112
|
+
|
|
113
|
+
**Usage:** `traefik-discovery tls import <acme-json-file> [options]`
|
|
114
|
+
|
|
115
|
+
**Options:**
|
|
116
|
+
|
|
117
|
+
| Flag | Description | Default | Required |
|
|
118
|
+
|------|-------------|---------|----------|
|
|
119
|
+
| `--hosts <hosts>` | Comma-separated list of hostnames to import | - | Yes |
|
|
120
|
+
| `--renewal-method <method>` | How Temps will renew when the imported cert expires: http-01 (default) or dns-01 | `http-01` | No |
|
|
121
|
+
| `--acknowledge-manual-dns-renewal` | Confirm you accept manual DNS renewal when no auto-manage DNS zone is configured | - | No |
|
|
122
|
+
| `--dry-run` | Validate and preview; do not write any certificate | - | No |
|
|
123
|
+
| `--json` | Output in JSON format | - | No |
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `tunnels` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `tunnels`
|
|
8
|
+
|
|
9
|
+
Ingress tunnels: publish apps on workers with no open ports or certificates. Apps under a tunnel's domain go live by adding the hostname to an environment
|
|
10
|
+
|
|
11
|
+
**Subcommands:**
|
|
12
|
+
|
|
13
|
+
- `list` - List tunnels, what each publishes and the workers it runs on
|
|
14
|
+
- `workers` - List worker nodes, for choosing where a tunnel runs (create --node)
|
|
15
|
+
- `create` - Create a tunnel for a managed zone and run it on workers. The zone must already be managed by the DNS provider (dns-providers domains add); workers must allow ingress
|
|
16
|
+
- `hostnames` - List hostnames tunnels publish or could publish, with their state and why
|
|
17
|
+
- `explain` - Explain how a hostname reaches visitors: which tunnel carries it, or why none does
|
|
18
|
+
- `route` - Choose how a hostname reaches visitors: through a tunnel (--tunnel <id>), whichever tunnel covers it (--automatic), or no tunnel (--off)
|
|
19
|
+
- `publish` - Set what a tunnel publishes: every app under its domain (--all) or only chosen hostnames (--chosen)
|
|
20
|
+
- `nodes` - Set the workers a tunnel runs on (an empty list stops it everywhere)
|
|
21
|
+
- `links` - Show a tunnel's live connections to the provider: data centre, age, worker
|
|
22
|
+
- `sync` - Re-check a tunnel with its provider and recreate it if it was deleted there
|
|
23
|
+
|
|
24
|
+
### `tunnels list`
|
|
25
|
+
|
|
26
|
+
List tunnels, what each publishes and the workers it runs on
|
|
27
|
+
|
|
28
|
+
**Options:**
|
|
29
|
+
|
|
30
|
+
| Flag | Description | Default | Required |
|
|
31
|
+
|------|-------------|---------|----------|
|
|
32
|
+
| `--page <page>` | Page number (1-indexed) | `1` | No |
|
|
33
|
+
| `--page-size <pageSize>` | Items per page (max 100) | `20` | No |
|
|
34
|
+
| `--json` | Output in JSON format | - | No |
|
|
35
|
+
|
|
36
|
+
### `tunnels workers`
|
|
37
|
+
|
|
38
|
+
List worker nodes, for choosing where a tunnel runs (create --node)
|
|
39
|
+
|
|
40
|
+
**Options:**
|
|
41
|
+
|
|
42
|
+
| Flag | Description | Default | Required |
|
|
43
|
+
|------|-------------|---------|----------|
|
|
44
|
+
| `--json` | Output in JSON format | - | No |
|
|
45
|
+
|
|
46
|
+
### `tunnels create`
|
|
47
|
+
|
|
48
|
+
Create a tunnel for a managed zone and run it on workers. The zone must already be managed by the DNS provider (dns-providers domains add); workers must allow ingress
|
|
49
|
+
|
|
50
|
+
**Options:**
|
|
51
|
+
|
|
52
|
+
| Flag | Description | Default | Required |
|
|
53
|
+
|------|-------------|---------|----------|
|
|
54
|
+
| `--name <name>` | Lowercase letters, digits and hyphens | - | Yes |
|
|
55
|
+
| `--dns-provider <id>` | Cloudflare DNS provider id | - | Yes |
|
|
56
|
+
| `--domain <domain>` | Zone (or subdomain of one) whose apps it publishes | - | Yes |
|
|
57
|
+
| `--node <ids...>` | Worker node ids to run it on | - | Yes |
|
|
58
|
+
| `--provider <kind>` | Tunnel provider kind | `cloudflare_tunnel` | No |
|
|
59
|
+
| `--json` | Output in JSON format | - | No |
|
|
60
|
+
|
|
61
|
+
### `tunnels hostnames`
|
|
62
|
+
|
|
63
|
+
List hostnames tunnels publish or could publish, with their state and why
|
|
64
|
+
|
|
65
|
+
**Options:**
|
|
66
|
+
|
|
67
|
+
| Flag | Description | Default | Required |
|
|
68
|
+
|------|-------------|---------|----------|
|
|
69
|
+
| `--json` | Output in JSON format | - | No |
|
|
70
|
+
|
|
71
|
+
### `tunnels explain`
|
|
72
|
+
|
|
73
|
+
Explain how a hostname reaches visitors: which tunnel carries it, or why none does
|
|
74
|
+
|
|
75
|
+
**Usage:** `tunnels explain <hostname> [options]`
|
|
76
|
+
|
|
77
|
+
**Options:**
|
|
78
|
+
|
|
79
|
+
| Flag | Description | Default | Required |
|
|
80
|
+
|------|-------------|---------|----------|
|
|
81
|
+
| `--json` | Output in JSON format | - | No |
|
|
82
|
+
|
|
83
|
+
### `tunnels route`
|
|
84
|
+
|
|
85
|
+
Choose how a hostname reaches visitors: through a tunnel (--tunnel <id>), whichever tunnel covers it (--automatic), or no tunnel (--off)
|
|
86
|
+
|
|
87
|
+
**Usage:** `tunnels route <hostname> [options]`
|
|
88
|
+
|
|
89
|
+
**Options:**
|
|
90
|
+
|
|
91
|
+
| Flag | Description | Default | Required |
|
|
92
|
+
|------|-------------|---------|----------|
|
|
93
|
+
| `--tunnel <id>` | Pin it to this tunnel | - | No |
|
|
94
|
+
| `--automatic` | Let the most specific covering tunnel publish it | - | No |
|
|
95
|
+
| `--off` | Keep every tunnel away from it (DNS managed elsewhere) | - | No |
|
|
96
|
+
| `--json` | Output in JSON format | - | No |
|
|
97
|
+
|
|
98
|
+
### `tunnels publish`
|
|
99
|
+
|
|
100
|
+
Set what a tunnel publishes: every app under its domain (--all) or only chosen hostnames (--chosen)
|
|
101
|
+
|
|
102
|
+
**Usage:** `tunnels publish <id> [options]`
|
|
103
|
+
|
|
104
|
+
**Options:**
|
|
105
|
+
|
|
106
|
+
| Flag | Description | Default | Required |
|
|
107
|
+
|------|-------------|---------|----------|
|
|
108
|
+
| `--all` | Publish every app under its domain | - | No |
|
|
109
|
+
| `--chosen` | Publish only hostnames routed to it | - | No |
|
|
110
|
+
|
|
111
|
+
### `tunnels nodes`
|
|
112
|
+
|
|
113
|
+
Set the workers a tunnel runs on (an empty list stops it everywhere)
|
|
114
|
+
|
|
115
|
+
**Usage:** `tunnels nodes <id> [options]`
|
|
116
|
+
|
|
117
|
+
**Options:**
|
|
118
|
+
|
|
119
|
+
| Flag | Description | Default | Required |
|
|
120
|
+
|------|-------------|---------|----------|
|
|
121
|
+
| `--node <ids...>` | Worker node ids | - | Yes |
|
|
122
|
+
|
|
123
|
+
### `tunnels links`
|
|
124
|
+
|
|
125
|
+
Show a tunnel's live connections to the provider: data centre, age, worker
|
|
126
|
+
|
|
127
|
+
**Usage:** `tunnels links <id> [options]`
|
|
128
|
+
|
|
129
|
+
**Options:**
|
|
130
|
+
|
|
131
|
+
| Flag | Description | Default | Required |
|
|
132
|
+
|------|-------------|---------|----------|
|
|
133
|
+
| `--json` | Output in JSON format | - | No |
|
|
134
|
+
|
|
135
|
+
### `tunnels sync`
|
|
136
|
+
|
|
137
|
+
Re-check a tunnel with its provider and recreate it if it was deleted there
|
|
138
|
+
|
|
139
|
+
**Usage:** `tunnels sync <id>`
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<!-- Generated from skills/temps-cli/references/COMMANDS.md. Do not edit manually. -->
|
|
2
|
+
|
|
3
|
+
# `up` command reference
|
|
4
|
+
|
|
5
|
+
Apply [the CLI runtime and safety contract](../cli-runtime.md) before executing a command. Runtime `--help` is authoritative.
|
|
6
|
+
|
|
7
|
+
## `up`
|
|
8
|
+
|
|
9
|
+
Deploy the current project (runs setup wizard if not linked)
|
|
10
|
+
|
|
11
|
+
**Usage:** `up [project] [options]`
|
|
12
|
+
|
|
13
|
+
**Options:**
|
|
14
|
+
|
|
15
|
+
| Flag | Description | Default | Required |
|
|
16
|
+
|------|-------------|---------|----------|
|
|
17
|
+
| `-p, --project <project>` | Project slug or ID | - | No |
|
|
18
|
+
| `-e, --environment <env>` | Target environment name | - | No |
|
|
19
|
+
| `-b, --branch <branch>` | Git branch to deploy (auto-detected from cwd) | - | No |
|
|
20
|
+
| `-n, --name <name>` | Project name (for new projects) | - | No |
|
|
21
|
+
| `--preset <preset>` | Framework preset slug (skip auto-detection) | - | No |
|
|
22
|
+
| `--manual` | Use manual deployment mode (no git) | - | No |
|
|
23
|
+
| `--static` | Deploy a pre-built static folder (no Docker, no git) | - | No |
|
|
24
|
+
| `--static-dir <dir>` | Folder to upload for static deploys (auto-detected by default) | - | No |
|
|
25
|
+
| `--no-services` | Skip external service setup | - | No |
|
|
26
|
+
| `--no-wait` | Do not wait for deployment to complete | - | No |
|
|
27
|
+
| `-y, --yes` | Skip confirmation prompts | - | No |
|