@xano/cli 1.0.6-beta.17 → 1.0.6-beta.18
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 +2 -2
- package/dist/commands/ephemeral/create/index.js +3 -3
- package/oclif.manifest.json +3100 -3100
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -702,7 +702,7 @@ xano tenant cluster license set <cluster_id> --file ./kubeconfig.yaml
|
|
|
702
702
|
|
|
703
703
|
### Ephemeral Tenants
|
|
704
704
|
|
|
705
|
-
Manage ephemeral tenants — short-lived, auto-expiring tenants scoped to a workspace (default TTL 1h, max
|
|
705
|
+
Manage ephemeral tenants — short-lived, auto-expiring tenants scoped to a workspace (default TTL 1h, max 24h). Unlike a sandbox, an ephemeral tenant requires a workspace.
|
|
706
706
|
|
|
707
707
|
```bash
|
|
708
708
|
# List ephemeral tenants in the current workspace
|
|
@@ -715,7 +715,7 @@ xano ephemeral list --global
|
|
|
715
715
|
# Create an ephemeral tenant (workspace required)
|
|
716
716
|
xano ephemeral create "PR preview"
|
|
717
717
|
xano ephemeral create "Demo" --expires-hours 24 -w 5
|
|
718
|
-
xano ephemeral create "Load test" -d "
|
|
718
|
+
xano ephemeral create "Load test" -d "overnight soak" --expires-hours 24
|
|
719
719
|
|
|
720
720
|
# Get / edit / delete
|
|
721
721
|
xano ephemeral get <tenant_name>
|
|
@@ -14,7 +14,7 @@ Created ephemeral tenant: PR preview (e4f2-9ab1-...) - ID: 42
|
|
|
14
14
|
Expires: in 1 hour
|
|
15
15
|
`,
|
|
16
16
|
`$ xano ephemeral create "Demo" --expires-hours 24 -w 114`,
|
|
17
|
-
`$ xano ephemeral create "Load test" --description "
|
|
17
|
+
`$ xano ephemeral create "Load test" --description "overnight soak" --expires-hours 24 -o json`,
|
|
18
18
|
];
|
|
19
19
|
static flags = {
|
|
20
20
|
...BaseCommand.baseFlags,
|
|
@@ -25,8 +25,8 @@ Created ephemeral tenant: PR preview (e4f2-9ab1-...) - ID: 42
|
|
|
25
25
|
}),
|
|
26
26
|
'expires-hours': Flags.integer({
|
|
27
27
|
default: 1,
|
|
28
|
-
description: 'Hours until the tenant auto-expires (1-
|
|
29
|
-
max:
|
|
28
|
+
description: 'Hours until the tenant auto-expires (1-24)',
|
|
29
|
+
max: 24,
|
|
30
30
|
min: 1,
|
|
31
31
|
required: false,
|
|
32
32
|
}),
|