sesterce-cli
Version:
A powerful command-line interface tool for managing Sesterce Cloud services. Sesterce CLI provides easy access to GPU cloud instances, AI inference services, container registries, and SSH key management directly from your terminal.
77 lines • 4.41 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createCommands = createCommands;
const hardwares_1 = require("./ai-inference/hardwares");
const delete_1 = require("./ai-inference/instance/delete");
const details_1 = require("./ai-inference/instance/details");
const launch_1 = require("./ai-inference/instance/launch");
const list_1 = require("./ai-inference/instance/list");
const start_1 = require("./ai-inference/instance/start");
const stop_1 = require("./ai-inference/instance/stop");
const update_1 = require("./ai-inference/instance/update");
const models_1 = require("./ai-inference/models");
const regions_1 = require("./ai-inference/regions");
const delete_2 = require("./gpu-cloud/instance/delete");
const details_2 = require("./gpu-cloud/instance/details");
const launch_2 = require("./gpu-cloud/instance/launch");
const list_2 = require("./gpu-cloud/instance/list");
const offers_1 = require("./gpu-cloud/instance/offers");
const create_1 = require("./gpu-cloud/volume/create");
const delete_3 = require("./gpu-cloud/volume/delete");
const list_3 = require("./gpu-cloud/volume/list");
const offers_2 = require("./gpu-cloud/volume/offers");
const create_2 = require("./registry/create");
const delete_4 = require("./registry/delete");
const list_4 = require("./registry/list");
const update_2 = require("./registry/update");
const create_3 = require("./ssh-key/create");
const delete_5 = require("./ssh-key/delete");
const list_5 = require("./ssh-key/list");
const make_default_1 = require("./ssh-key/make-default");
function createCommands(program) {
// SSH Key commands
const sshKeyCommand = program.command("ssh-key");
(0, list_5.createSSHKeyListCommand)(sshKeyCommand);
(0, create_3.createSSHKeyCreateCommand)(sshKeyCommand);
(0, make_default_1.createSSHKeyMakeDefaultCommand)(sshKeyCommand);
(0, delete_5.createSSHKeyDeleteCommand)(sshKeyCommand);
// Registry commands
const registryCommand = program.command("registry");
(0, create_2.createRegistryCreateCommand)(registryCommand);
(0, list_4.createRegistryListCommand)(registryCommand);
(0, update_2.createRegistryUpdateCommand)(registryCommand);
(0, delete_4.createRegistryDeleteCommand)(registryCommand);
// GPU Cloud
const gpuCloudCommand = program.command("gpu-cloud");
// GPU Cloud Instance commands
const gpuCloudInstanceCommand = gpuCloudCommand.command("instance");
(0, offers_1.createGpuCloudInstanceOffersCommand)(gpuCloudInstanceCommand);
(0, launch_2.createGpuCloudInstanceLaunchCommand)(gpuCloudInstanceCommand);
(0, list_2.createGpuCloudInstanceListCommand)(gpuCloudInstanceCommand);
(0, details_2.createGpuCloudInstanceDetailsCommand)(gpuCloudInstanceCommand);
(0, delete_2.createGpuCloudInstanceDeleteCommand)(gpuCloudInstanceCommand);
// GPU Cloud Volume commands
const gpuCloudVolumeCommand = gpuCloudCommand.command("volume");
(0, offers_2.createGpuCloudVolumeOffersCommand)(gpuCloudVolumeCommand);
(0, create_1.createGpuCloudVolumeCreateCommand)(gpuCloudVolumeCommand);
(0, list_3.createGpuCloudVolumeListCommand)(gpuCloudVolumeCommand);
(0, delete_3.createGpuCloudVolumeDeleteCommand)(gpuCloudVolumeCommand);
// AI Inference
const aiInferenceCommand = program.command("ai-inference");
// AI Inference Model commands
(0, models_1.createAIInferenceModelsCommand)(aiInferenceCommand);
// AI Inference Hardware commands
(0, hardwares_1.createAIInferenceHardwaresCommand)(aiInferenceCommand);
// AI Inference Region commands
(0, regions_1.createAIInferenceRegionsCommand)(aiInferenceCommand);
// AI Inference Instance commands
const aiInferenceInstanceCommand = aiInferenceCommand.command("instance");
(0, launch_1.createAIInferenceInstanceLaunchCommand)(aiInferenceInstanceCommand);
(0, list_1.createAIInferenceInstanceListCommand)(aiInferenceInstanceCommand);
(0, delete_1.createAIInferenceInstanceDeleteCommand)(aiInferenceInstanceCommand);
(0, start_1.createAIInferenceInstanceStartCommand)(aiInferenceInstanceCommand);
(0, stop_1.createAIInferenceInstanceStopCommand)(aiInferenceInstanceCommand);
(0, update_1.createAIInferenceInstanceUpdateCommand)(aiInferenceInstanceCommand);
(0, details_1.createAIInferenceInstanceDetailsCommand)(aiInferenceInstanceCommand);
}
//# sourceMappingURL=create-commands.js.map