command

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AmendProfileCommitCommand

type AmendProfileCommitCommand struct {
	// contains filtered or unexported fields
}

func NewAmendProfileCommitCommnad

func NewAmendProfileCommitCommnad(
	currentProfileService *application.CurrentProfileService,
	amendProfileService *application.AmendProfileService,
) *AmendProfileCommitCommand

func (*AmendProfileCommitCommand) Execute

func (c *AmendProfileCommitCommand) Execute(cmd *cobra.Command, workspace string) error

func (*AmendProfileCommitCommand) Register

func (c *AmendProfileCommitCommand) Register(rootCmd *cobra.Command)

type CurrentProfileCommand

type CurrentProfileCommand struct {
	// contains filtered or unexported fields
}

func NewCurrentProfileCommand

func NewCurrentProfileCommand(
	currentProfileService *application.CurrentProfileService,
) *CurrentProfileCommand

func (*CurrentProfileCommand) Execute

func (c *CurrentProfileCommand) Execute(cmd *cobra.Command) error

func (*CurrentProfileCommand) Register

func (c *CurrentProfileCommand) Register(rootCmd *cobra.Command)

type DeleteProfileCommand

type DeleteProfileCommand struct {
	// contains filtered or unexported fields
}

func NewDeleteProfileCommand

func NewDeleteProfileCommand(
	getProfileService *application.GetProfileService,
	createProfileService *application.DeleteProfileService,
) *DeleteProfileCommand

func (*DeleteProfileCommand) Execute

func (c *DeleteProfileCommand) Execute(cmd *cobra.Command, workspace string) error

func (*DeleteProfileCommand) Register

func (c *DeleteProfileCommand) Register(rootCmd *cobra.Command)

type DeleteProfileCommandParams

type DeleteProfileCommandParams struct {
	Workspace string
}

type GetProfileCommand

type GetProfileCommand struct {
	// contains filtered or unexported fields
}

func NewGetProfileCommand

func NewGetProfileCommand(
	getProfileService *application.GetProfileService,
) *GetProfileCommand

func (*GetProfileCommand) Execute

func (c *GetProfileCommand) Execute(cmd *cobra.Command, workspace string) error

func (*GetProfileCommand) Register

func (c *GetProfileCommand) Register(rootCmd *cobra.Command)

type ListProfileCommand

type ListProfileCommand struct {
	// contains filtered or unexported fields
}

func NewListProfileCommand

func NewListProfileCommand(
	listProfileService *application.ListProfileService,
	currentProfileService *application.CurrentProfileService,
) *ListProfileCommand

func (*ListProfileCommand) Execute

func (c *ListProfileCommand) Execute(cmd *cobra.Command, verbose bool) error

func (*ListProfileCommand) Register

func (c *ListProfileCommand) Register(rootCmd *cobra.Command)

type SetProfileCommand

type SetProfileCommand struct {
	// contains filtered or unexported fields
}

func NewSetProfileCommand

func NewSetProfileCommand(
	createProfileService *application.CreateProfileService,
	updateProfileService *application.UpdateProfileService,
	getProfileService *application.GetProfileService,
) *SetProfileCommand

func (*SetProfileCommand) Execute

func (c *SetProfileCommand) Execute(cmd *cobra.Command, workspace string, email string, name string, force bool) error

func (*SetProfileCommand) Register

func (c *SetProfileCommand) Register(rootCmd *cobra.Command)

type SetProfileCommandParams

type SetProfileCommandParams struct {
	Workspace string
	Email     string
	Name      string
}

type UseProfileCommand

type UseProfileCommand struct {
	// contains filtered or unexported fields
}

func NewUseProfileCommand

func NewUseProfileCommand(
	useProfileService *application.UseProfileService,
	getProfileService *application.GetProfileService,
	listProfileService *application.ListProfileService,
) *UseProfileCommand

func (*UseProfileCommand) Execute

func (c *UseProfileCommand) Execute(cmd *cobra.Command, workspace string) error

func (*UseProfileCommand) Register

func (c *UseProfileCommand) Register(rootCmd *cobra.Command)

type UseProfileCommandParams

type UseProfileCommandParams struct {
	Workspace string
}

type VersionCommand

type VersionCommand struct {
	Version     string
	GitCommit   string
	BuildDate   string
	ProfilePath string
}

func NewVersionCommand

func NewVersionCommand(
	version string,
	gitCommit string,
	buildDate string,
	profilePath string,
) *VersionCommand

func (*VersionCommand) Execute

func (c *VersionCommand) Execute(cmd *cobra.Command) error

func (*VersionCommand) Register

func (c *VersionCommand) Register(rootCmd *cobra.Command)

Jump to

Keyboard shortcuts

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