Documentation
¶
Index ¶
- func GetProjectPath(ID string) string
- func GetProjectURL(ID string) string
- func NewCreateCommand(commandName string, client client.API, w io.Writer) *cobra.Command
- func NewListCommand(commandName string, c client.API, w io.Writer) *cobra.Command
- func NewProjectCommand(client client.API, w io.Writer) *cobra.Command
- func NewViewCommand(commandName string, client client.API, w io.Writer) *cobra.Command
- type CreateOptions
- type ListOptions
- type ViewOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetProjectPath ¶
GetProjectPath returns the URL path to a project, agnostic of domain
func GetProjectURL ¶
GetProjectURL returns the full URL to a project using configuration
func NewCreateCommand ¶
NewCreateCommand creates a new command for creating a project.
func NewListCommand ¶
NewListCommand creates a new command to deal with projects
func NewProjectCommand ¶
NewProjectCommand creates a new `project` command
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 ¶
ListOptions is the options for the listing projects command.
type ViewOptions ¶
ViewOptions is the options for the detail view of a project.
Click to show internal directories.
Click to hide internal directories.