Skip to content

Commit 02c32db

Browse files
committed
Test_AllUsage update goldens
1 parent a4baed6 commit 02c32db

22 files changed

+471
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Add new ACL rules for a specific deployment.
4+
5+
USAGE:
6+
scw llm-inference acl add [arg=value ...]
7+
8+
ARGS:
9+
deployment-id ID of the deployment to add ACL rules to
10+
[acls.{index}.ip] IP address to be allowed
11+
[acls.{index}.description] Description of the ACL rule
12+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
13+
14+
FLAGS:
15+
-h, --help help for add
16+
17+
GLOBAL FLAGS:
18+
-c, --config string The path to the config file
19+
-D, --debug Enable debug mode
20+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
21+
-p, --profile string The config profile to use
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Delete an exising ACL.
4+
5+
USAGE:
6+
scw llm-inference acl delete [arg=value ...]
7+
8+
ARGS:
9+
acl-id ID of the ACL rule to delete
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
11+
12+
FLAGS:
13+
-h, --help help for delete
14+
15+
GLOBAL FLAGS:
16+
-c, --config string The path to the config file
17+
-D, --debug Enable debug mode
18+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
19+
-p, --profile string The config profile to use
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
List ACLs for a specific deployment.
4+
5+
USAGE:
6+
scw llm-inference acl list [arg=value ...]
7+
8+
ARGS:
9+
deployment-id ID of the deployment to list ACL rules for
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
11+
12+
FLAGS:
13+
-h, --help help for list
14+
15+
GLOBAL FLAGS:
16+
-c, --config string The path to the config file
17+
-D, --debug Enable debug mode
18+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
19+
-p, --profile string The config profile to use
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Set new ACL rules for a specific deployment.
4+
5+
USAGE:
6+
scw llm-inference acl set [arg=value ...]
7+
8+
ARGS:
9+
deployment-id ID of the deployment to set ACL rules for
10+
[acls.{index}.ip] IP address to be allowed
11+
[acls.{index}.description] Description of the ACL rule
12+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
13+
14+
FLAGS:
15+
-h, --help help for set
16+
17+
GLOBAL FLAGS:
18+
-c, --config string The path to the config file
19+
-D, --debug Enable debug mode
20+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
21+
-p, --profile string The config profile to use
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Access Control List (ACL) management commands.
4+
5+
USAGE:
6+
scw llm-inference acl <command>
7+
8+
AVAILABLE COMMANDS:
9+
add Add new ACLs
10+
delete Delete an exising ACL
11+
list List your ACLs
12+
set Set new ACL
13+
14+
FLAGS:
15+
-h, --help help for acl
16+
17+
GLOBAL FLAGS:
18+
-c, --config string The path to the config file
19+
-D, --debug Enable debug mode
20+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
21+
-p, --profile string The config profile to use
22+
23+
Use "scw llm-inference acl [command] --help" for more information about a command.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Create a new inference deployment related to a specific model.
4+
5+
USAGE:
6+
scw llm-inference deployment create [arg=value ...]
7+
8+
ARGS:
9+
name=<generated> Name of the deployment
10+
[project-id] Project ID to use. If none is passed the default project ID will be used
11+
model-name Name of the model to use
12+
[accept-eula] Accept the model's End User License Agreement (EULA).
13+
node-type Name of the node type to use
14+
[tags.{index}] List of tags to apply to the deployment
15+
[min-size] Defines the minimum size of the pool
16+
[max-size] Defines the maximum size of the pool
17+
[endpoints.{index}.is-public=false] Will configure your public endpoint if true
18+
[endpoints.{index}.private-network.private-network-id] ID of the Private Network
19+
[endpoints.{index}.disable-auth=false] Disable the authentication on the endpoint.
20+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
21+
22+
FLAGS:
23+
-h, --help help for create
24+
-w, --wait wait until the deployment is ready
25+
26+
GLOBAL FLAGS:
27+
-c, --config string The path to the config file
28+
-D, --debug Enable debug mode
29+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
30+
-p, --profile string The config profile to use
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Delete an existing inference deployment.
4+
5+
USAGE:
6+
scw llm-inference deployment delete <deployment-id ...> [arg=value ...]
7+
8+
ARGS:
9+
deployment-id ID of the deployment to delete
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
11+
12+
FLAGS:
13+
-h, --help help for delete
14+
-w, --wait wait until the deployment is ready
15+
16+
GLOBAL FLAGS:
17+
-c, --config string The path to the config file
18+
-D, --debug Enable debug mode
19+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
20+
-p, --profile string The config profile to use
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Get the CA certificate used for the deployment of private endpoints.
4+
The CA certificate will be returned as a PEM file.
5+
6+
USAGE:
7+
scw llm-inference deployment get-certificate [arg=value ...]
8+
9+
ARGS:
10+
deployment-id
11+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
12+
13+
FLAGS:
14+
-h, --help help for get-certificate
15+
16+
GLOBAL FLAGS:
17+
-c, --config string The path to the config file
18+
-D, --debug Enable debug mode
19+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
20+
-p, --profile string The config profile to use
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Get the deployment for the given ID.
4+
5+
USAGE:
6+
scw llm-inference deployment get <deployment-id ...> [arg=value ...]
7+
8+
ARGS:
9+
deployment-id ID of the deployment to get
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
11+
12+
FLAGS:
13+
-h, --help help for get
14+
15+
GLOBAL FLAGS:
16+
-c, --config string The path to the config file
17+
-D, --debug Enable debug mode
18+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
19+
-p, --profile string The config profile to use
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
List all your inference deployments.
4+
5+
USAGE:
6+
scw llm-inference deployment list [arg=value ...]
7+
8+
ARGS:
9+
[order-by] Order in which to return results (created_at_desc | created_at_asc | name_asc | name_desc)
10+
[project-id] Filter by Project ID
11+
[name] Filter by deployment name
12+
[tags.{index}] Filter by tags
13+
[organization-id] Filter by Organization ID
14+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
15+
16+
FLAGS:
17+
-h, --help help for list
18+
19+
GLOBAL FLAGS:
20+
-c, --config string The path to the config file
21+
-D, --debug Enable debug mode
22+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
23+
-p, --profile string The config profile to use
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Update an existing inference deployment.
4+
5+
USAGE:
6+
scw llm-inference deployment update <deployment-id ...> [arg=value ...]
7+
8+
ARGS:
9+
deployment-id ID of the deployment to update
10+
[name] Name of the deployment
11+
[tags.{index}] List of tags to apply to the deployment
12+
[min-size] Defines the new minimum size of the pool
13+
[max-size] Defines the new maximum size of the pool
14+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
15+
16+
FLAGS:
17+
-h, --help help for update
18+
19+
GLOBAL FLAGS:
20+
-c, --config string The path to the config file
21+
-D, --debug Enable debug mode
22+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
23+
-p, --profile string The config profile to use
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Deployment commands.
4+
5+
USAGE:
6+
scw llm-inference deployment <command>
7+
8+
AVAILABLE COMMANDS:
9+
create Create a deployment
10+
delete Delete a deployment
11+
get Get a deployment
12+
get-certificate Get the CA certificate
13+
list List inference deployments
14+
update Update a deployment
15+
16+
FLAGS:
17+
-h, --help help for deployment
18+
19+
GLOBAL FLAGS:
20+
-c, --config string The path to the config file
21+
-D, --debug Enable debug mode
22+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
23+
-p, --profile string The config profile to use
24+
25+
Use "scw llm-inference deployment [command] --help" for more information about a command.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Create a new Endpoint related to a specific deployment.
4+
5+
USAGE:
6+
scw llm-inference endpoint create [arg=value ...]
7+
8+
ARGS:
9+
deployment-id ID of the deployment to create the endpoint for
10+
[endpoint.is-public=false] Will configure your public endpoint if true
11+
[endpoint.private-network.private-network-id] ID of the Private Network
12+
[endpoint.disable-auth=false] Disable the authentication on the endpoint.
13+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
14+
15+
FLAGS:
16+
-h, --help help for create
17+
18+
GLOBAL FLAGS:
19+
-c, --config string The path to the config file
20+
-D, --debug Enable debug mode
21+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
22+
-p, --profile string The config profile to use
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Delete an existing Endpoint.
4+
5+
USAGE:
6+
scw llm-inference endpoint delete <endpoint-id ...> [arg=value ...]
7+
8+
ARGS:
9+
endpoint-id ID of the endpoint to delete
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
11+
12+
FLAGS:
13+
-h, --help help for delete
14+
15+
GLOBAL FLAGS:
16+
-c, --config string The path to the config file
17+
-D, --debug Enable debug mode
18+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
19+
-p, --profile string The config profile to use
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Update an existing Endpoint.
4+
5+
USAGE:
6+
scw llm-inference endpoint update <endpoint-id ...> [arg=value ...]
7+
8+
ARGS:
9+
endpoint-id ID of the endpoint to update
10+
[disable-auth] Disable the authentication on the endpoint.
11+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
12+
13+
FLAGS:
14+
-h, --help help for update
15+
16+
GLOBAL FLAGS:
17+
-c, --config string The path to the config file
18+
-D, --debug Enable debug mode
19+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
20+
-p, --profile string The config profile to use
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Endpoint management commands.
4+
5+
USAGE:
6+
scw llm-inference endpoint <command>
7+
8+
AVAILABLE COMMANDS:
9+
create Create an endpoint
10+
delete Delete an endpoint
11+
update Update an endpoint
12+
13+
FLAGS:
14+
-h, --help help for endpoint
15+
16+
GLOBAL FLAGS:
17+
-c, --config string The path to the config file
18+
-D, --debug Enable debug mode
19+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
20+
-p, --profile string The config profile to use
21+
22+
Use "scw llm-inference endpoint [command] --help" for more information about a command.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2+
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3+
Get the model for the given ID.
4+
5+
USAGE:
6+
scw llm-inference model get <model-id ...> [arg=value ...]
7+
8+
ARGS:
9+
model-id ID of the model to get
10+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
11+
12+
FLAGS:
13+
-h, --help help for get
14+
15+
GLOBAL FLAGS:
16+
-c, --config string The path to the config file
17+
-D, --debug Enable debug mode
18+
-o, --output string Output format: json or human, see 'scw help output' for more info (default "human")
19+
-p, --profile string The config profile to use

0 commit comments

Comments
 (0)