command

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 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 CreateProfileCommand added in v0.1.5

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

func NewCreateProfileCommand added in v0.1.5

func NewCreateProfileCommand(
	createProfileService *application.CreateProfileService,
	updateProfileService *application.UpdateProfileService,
	getProfileService *application.GetProfileService,
) *CreateProfileCommand

func (*CreateProfileCommand) Execute added in v0.1.5

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

func (*CreateProfileCommand) Register added in v0.1.5

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

type CreateProfileCommandParams added in v0.1.5

type CreateProfileCommandParams struct {
	Workspace string
	Email     string
	Name      string
}

type CurrentProfileCommand

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

func NewCurrentProfileCommand

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

func (*CurrentProfileCommand) Execute

func (c *CurrentProfileCommand) Execute(cmd *cobra.Command, verbose bool, global bool) 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(
	setProfileService *application.SetProfileService,
	setGlobalProfileService *application.SetProfileService,
	getProfileService *application.GetProfileService,
	listProfileService *application.ListProfileService,
) *SetProfileCommand

func (*SetProfileCommand) Execute

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

func (*SetProfileCommand) Register

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

type SetProfileCommandParams

type SetProfileCommandParams struct {
	Workspace string
}

type UnsetProfileCommand added in v0.1.5

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

func NewUnsetProfileCommand added in v0.1.5

func NewUnsetProfileCommand(
	unsetProfileService *application.UnsetProfileService,
	unsetGlobalProfileService *application.UnsetProfileService,
	currentProfileService *application.CurrentProfileService,
	currentProfileGlobalService *application.CurrentProfileService,
) *UnsetProfileCommand

func (*UnsetProfileCommand) Execute added in v0.1.5

func (c *UnsetProfileCommand) Execute(
	cmd *cobra.Command,
	unsetProfileService *application.UnsetProfileService,
	currentProfileService *application.CurrentProfileService,
) error

func (*UnsetProfileCommand) Register added in v0.1.5

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

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