project

package
v0.0.57 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProjectPath

func GetProjectPath(ID string) string

GetProjectPath returns the URL path to a project, agnostic of domain

func GetProjectURL

func GetProjectURL(ID string) string

GetProjectURL returns the full URL to a project using configuration

func NewCreateCommand

func NewCreateCommand(commandName string, client client.API, w io.Writer) *cobra.Command

NewCreateCommand creates a new command for creating a project.

func NewListCommand

func NewListCommand(commandName string, c client.API, w io.Writer) *cobra.Command

NewListCommand creates a new command to deal with projects

func NewProjectCommand

func NewProjectCommand(client client.API, w io.Writer) *cobra.Command

NewProjectCommand creates a new `project` command

func NewViewCommand

func NewViewCommand(commandName string, client client.API, w io.Writer) *cobra.Command

NewViewCommand creates a new command to show a project.

Types

type CreateOptions

type CreateOptions struct {
	Args        []string
	Title       string
	Workspace   string
	Description string
	Owner       string
}

CreateOptions are the options to be able to create a project.

type ListOptions

type ListOptions struct {
	Args        []string
	WorkspaceID string
	Limit       int
	Offset      int
}

ListOptions is the options for the listing projects command.

type ViewOptions

type ViewOptions struct {
	Args []string
	Web  bool
}

ViewOptions is the options for the detail view of a project.

Jump to

Keyboard shortcuts

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