Documentation
¶
Index ¶
- Variables
- func Attach(c Command, e *Environment, cmds ...*cobra.Command) (res *cobra.Command)
- func Run(args []string, stdin io.Reader, stdout, stderr io.Writer) (err error)
- type Command
- type CommonOptions
- type DownCmd
- type Environment
- type GitCleanCmd
- type GitCmd
- type GitDivertAbortCmd
- type GitDivertBeginCmd
- type GitDivertFinishCmd
- type GitDivertPushCmd
- type GitDivertRootCmd
- type GitDivertStatusCmd
- type GitInstallCmd
- type GitPreCommitCmd
- type GitSmudgeCmd
- type GitUninstallCmd
- type LsCmd
- type PingCmd
- type RootCmd
- type ServerCmd
- type ServerOptions
- type ServerRunCmd
- type SpecExportCmd
- type SpecImportCmd
- type SpecRootCmd
- type UpCmd
- type VersionCmd
Constants ¶
This section is empty.
Variables ¶
View Source
var Version string
Functions ¶
Types ¶
type CommonOptions ¶
type CommonOptions struct { LoggingLevel string WD string Endpoint string ChunkSize int64 PoolSize int BufferSize int }
Common bar options
type DownCmd ¶
type DownCmd struct { *Environment *CommonOptions UseGit bool }
type Environment ¶
Command environment
type GitCleanCmd ¶
type GitCleanCmd struct { *Environment *CommonOptions // Installable logging lenel Id bool }
func (*GitCleanCmd) Init ¶
func (c *GitCleanCmd) Init(cc *cobra.Command)
func (*GitCleanCmd) Run ¶
func (c *GitCleanCmd) Run(args ...string) (err error)
type GitDivertAbortCmd ¶
type GitDivertAbortCmd struct { *Environment *CommonOptions }
func (*GitDivertAbortCmd) Init ¶
func (c *GitDivertAbortCmd) Init(cc *cobra.Command)
func (*GitDivertAbortCmd) Run ¶
func (c *GitDivertAbortCmd) Run(args ...string) (err error)
type GitDivertBeginCmd ¶
type GitDivertBeginCmd struct { *Environment *CommonOptions }
func (*GitDivertBeginCmd) Init ¶
func (c *GitDivertBeginCmd) Init(cc *cobra.Command)
func (*GitDivertBeginCmd) Run ¶
func (c *GitDivertBeginCmd) Run(args ...string) (err error)
type GitDivertFinishCmd ¶
type GitDivertFinishCmd struct { *Environment *CommonOptions Message string }
func (*GitDivertFinishCmd) Init ¶
func (c *GitDivertFinishCmd) Init(cc *cobra.Command)
func (*GitDivertFinishCmd) Run ¶
func (c *GitDivertFinishCmd) Run(args ...string) (err error)
type GitDivertPushCmd ¶
type GitDivertPushCmd struct { *Environment *CommonOptions }
func (*GitDivertPushCmd) Init ¶
func (c *GitDivertPushCmd) Init(cc *cobra.Command)
func (*GitDivertPushCmd) Run ¶
func (c *GitDivertPushCmd) Run(args ...string) (err error)
type GitDivertRootCmd ¶
type GitDivertRootCmd struct { }
func (*GitDivertRootCmd) Init ¶
func (c *GitDivertRootCmd) Init(cc *cobra.Command)
func (*GitDivertRootCmd) Run ¶
func (c *GitDivertRootCmd) Run(args ...string) (err error)
type GitDivertStatusCmd ¶
type GitDivertStatusCmd struct { *Environment *CommonOptions }
func (*GitDivertStatusCmd) Init ¶
func (c *GitDivertStatusCmd) Init(cc *cobra.Command)
func (*GitDivertStatusCmd) Run ¶
func (c *GitDivertStatusCmd) Run(args ...string) (err error)
type GitInstallCmd ¶
type GitInstallCmd struct { *Environment *CommonOptions // Installable logging level Log string }
func (*GitInstallCmd) Init ¶
func (c *GitInstallCmd) Init(cc *cobra.Command)
func (*GitInstallCmd) Run ¶
func (c *GitInstallCmd) Run(args ...string) (err error)
type GitPreCommitCmd ¶
type GitPreCommitCmd struct { *Environment *CommonOptions }
func (*GitPreCommitCmd) Init ¶
func (c *GitPreCommitCmd) Init(cc *cobra.Command)
func (*GitPreCommitCmd) Run ¶
func (c *GitPreCommitCmd) Run(args ...string) (err error)
type GitSmudgeCmd ¶
type GitSmudgeCmd struct { *Environment *CommonOptions }
func (*GitSmudgeCmd) Init ¶
func (c *GitSmudgeCmd) Init(cc *cobra.Command)
func (*GitSmudgeCmd) Run ¶
func (c *GitSmudgeCmd) Run(args ...string) (err error)
type GitUninstallCmd ¶
type GitUninstallCmd struct { *Environment *CommonOptions // Installable logging lenel Log string }
func (*GitUninstallCmd) Init ¶
func (c *GitUninstallCmd) Init(cc *cobra.Command)
func (*GitUninstallCmd) Run ¶
func (c *GitUninstallCmd) Run(args ...string) (err error)
type LsCmd ¶
type PingCmd ¶
type PingCmd struct { *Environment *CommonOptions }
type RootCmd ¶
type RootCmd struct { *Environment *CommonOptions }
type ServerOptions ¶
type ServerRunCmd ¶
type ServerRunCmd struct { *Environment *CommonOptions *ServerOptions }
func (*ServerRunCmd) Init ¶
func (c *ServerRunCmd) Init(cc *cobra.Command)
func (*ServerRunCmd) Run ¶
func (c *ServerRunCmd) Run(args ...string) (err error)
type SpecExportCmd ¶
type SpecExportCmd struct { *Environment *CommonOptions UseGit bool Upload bool DoCC bool }
func (*SpecExportCmd) Init ¶
func (c *SpecExportCmd) Init(cc *cobra.Command)
func (*SpecExportCmd) Run ¶
func (c *SpecExportCmd) Run(args ...string) (err error)
type SpecImportCmd ¶
type SpecImportCmd struct { *Environment *CommonOptions UseGit bool Raw bool Squash bool }
func (*SpecImportCmd) Init ¶
func (c *SpecImportCmd) Init(cc *cobra.Command)
func (*SpecImportCmd) Run ¶
func (c *SpecImportCmd) Run(args ...string) (err error)
type SpecRootCmd ¶
type SpecRootCmd struct{}
func (*SpecRootCmd) Init ¶
func (c *SpecRootCmd) Init(cc *cobra.Command)
func (*SpecRootCmd) Run ¶
func (c *SpecRootCmd) Run(args ...string) (err error)
type UpCmd ¶
type UpCmd struct { *Environment *CommonOptions UseGit bool Squash bool }
type VersionCmd ¶
type VersionCmd struct {
*Environment
}
func (*VersionCmd) Init ¶
func (c *VersionCmd) Init(cc *cobra.Command)
func (*VersionCmd) Run ¶
func (c *VersionCmd) Run(args ...string) (err error)
Source Files
¶
- command.go
- down.go
- git-clean.go
- git-divert-abort.go
- git-divert-begin.go
- git-divert-finish.go
- git-divert-push.go
- git-divert-status.go
- git-divert.go
- git-install.go
- git-pre-commit.go
- git-smudge.go
- git-uninstall.go
- git.go
- ls.go
- ping.go
- root.go
- server-run.go
- server.go
- spec-export.go
- spec-import.go
- spec.go
- up.go
- version.go
Click to show internal directories.
Click to hide internal directories.