Documentation
¶
Index ¶
- type AmendProfileCommitCommand
- type CreateProfileCommand
- type CreateProfileCommandParams
- type CurrentProfileCommand
- type DeleteProfileCommand
- type DeleteProfileCommandParams
- type GetProfileCommand
- type ListProfileCommand
- type SetProfileCommand
- type SetProfileCommandParams
- type UnsetProfileCommand
- type VersionCommand
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) Register ¶ added in v0.1.5
func (c *CreateProfileCommand) Register(rootCmd *cobra.Command)
type CreateProfileCommandParams ¶ added in v0.1.5
type CurrentProfileCommand ¶
type CurrentProfileCommand struct {
// contains filtered or unexported fields
}
func NewCurrentProfileCommand ¶
func NewCurrentProfileCommand( currentProfileService *application.CurrentProfileService, currentProfileGlobalService *application.CurrentProfileService, ) *CurrentProfileCommand
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) 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 ¶
func NewVersionCommand ¶
func NewVersionCommand( version string, gitCommit string, buildDate string, profilePath string, ) *VersionCommand
func (*VersionCommand) Register ¶
func (c *VersionCommand) Register(rootCmd *cobra.Command)
Click to show internal directories.
Click to hide internal directories.