Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,9 @@ public static Command Create()
command.Subcommands.Add(AuthenticationCreateApiTokenCommandApiCommand.Create());
command.Subcommands.Add(AuthenticationCreateScopedJwtCommandApiCommand.Create());
command.Subcommands.Add(AuthenticationCreateSshKeyCommandApiCommand.Create());
command.Subcommands.Add(AuthenticationDeleteApiTokenCommandApiCommand.Create());
command.Subcommands.Add(AuthenticationDeleteApiTokenByIdCommandApiCommand.Create());
command.Subcommands.Add(AuthenticationDeleteSshKeyCommandApiCommand.Create());
command.Subcommands.Add(AuthenticationExportApiTokenToVercelCommandApiCommand.Create());
command.Subcommands.Add(AuthenticationExportApiTokenToVercelByBodyCommandApiCommand.Create());
command.Subcommands.Add(AuthenticationGetApiTokenCommandApiCommand.Create());
command.Subcommands.Add(AuthenticationGetApiTokenByIdCommandApiCommand.Create());
command.Subcommands.Add(AuthenticationGetApiTokensCommandApiCommand.Create());
command.Subcommands.Add(AuthenticationGetSshKeysCommandApiCommand.Create());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ private static string FormatResponse(ParseResult parseResult, string value, glob

public static Command Create(string? commandName = null)
{
var command = new Command(commandName ?? @"delete-api-token-by-id", @"Delete Api Token By Id");
var command = new Command(commandName ?? @"delete-api-token-by-id", @"Delete Api Token By Id
Delete an API token, by token_id.

token_id comes from Get Api Tokens (`GET /v1/api-tokens`).");
command.Arguments.Add(TokenId);
command.Options.Add(XiApiKey);
command.Options.Add(XApiKey);
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ private static string FormatResponse(ParseResult parseResult, global::DeepInfra.

public static Command Create(string? commandName = null)
{
var command = new Command(commandName ?? @"get-api-token-by-id", @"Get Api Token By Id");
var command = new Command(commandName ?? @"get-api-token-by-id", @"Get Api Token By Id
One API token's metadata, by token_id.

token_id comes from Get Api Tokens (`GET /v1/api-tokens`).");
command.Arguments.Add(TokenId);
command.Options.Add(XiApiKey);
command.Options.Add(XApiKey);
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion src/cli/DeepInfra.CLI/Commands/BillingApiGroupCommand.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ public static Command Create()
command.Subcommands.Add(BillingSetKeyLimitCommandApiCommand.Create());
command.Subcommands.Add(BillingSetupTopupCommandApiCommand.Create());
command.Subcommands.Add(BillingUsageCommandApiCommand.Create());
command.Subcommands.Add(BillingUsageApiTokenCommandApiCommand.Create());
command.Subcommands.Add(BillingUsageApiTokenByIdCommandApiCommand.Create());
command.Subcommands.Add(BillingUsageRentCommandApiCommand.Create());
command.Subcommands.Add(BillingUsageTokensCommandApiCommand.Create());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ private static string FormatResponse(ParseResult parseResult, global::DeepInfra.

public static Command Create(string? commandName = null)
{
var command = new Command(commandName ?? @"usage-api-token-by-id", @"Usage Api Token By Id");
var command = new Command(commandName ?? @"usage-api-token-by-id", @"Usage Api Token By Id
Usage for a single API token, by token_id.

token_id comes from Get Api Tokens (`GET /v1/api-tokens`).");
command.Arguments.Add(TokenId);
command.Options.Add(From);
command.Options.Add(To);
Expand Down
Loading
Loading