commands

package
v0.0.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package commands implements the CLI commands for the application

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "talis",
	Short: "Talis CLI - A command line interface for Talis API",
	Long: `Talis CLI is a command line tool for managing infrastructure and jobs through the Talis API.
	Complete documentation is available at https://github.com/celestiaorg/talis`,
	PersistentPreRunE: func(_ *cobra.Command, _ []string) error {
		return initClient()
	},
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute() error

Execute adds all child commands to the root command and sets flags appropriately.

func GetInfraCmd

func GetInfraCmd() *cobra.Command

GetInfraCmd returns the infrastructure command

func GetProjectsCmd

func GetProjectsCmd() *cobra.Command

GetProjectsCmd returns the projects command

func GetTasksCmd

func GetTasksCmd() *cobra.Command

GetTasksCmd returns the tasks command

func GetUsersCmd

func GetUsersCmd() *cobra.Command

GetUsersCmd returns the infrastructure command

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL