Documentation ¶
Index ¶
- func Configure() *command.Command
- func Execute() error
- func NewDocumentCmd(stdout io.Writer, stderr io.Writer) *command.Command
- func NewDocumentDownloadCmd(stdout io.Writer, stderr io.Writer) *command.Command
- func NewDocumentStatusCmd(stdout io.Writer, stderr io.Writer) *command.Command
- func NewDocumentUploadCmd(stdout io.Writer, stderr io.Writer) *command.Command
- func NewGlossariesCmd(stdout io.Writer, stderr io.Writer) *command.Command
- func NewGlossariesCreateCmd(stdout io.Writer, stderr io.Writer) *command.Command
- func NewGlossariesDeleteCmd(stdout io.Writer, stderr io.Writer) *command.Command
- func NewGlossariesEntriesCmd(stdout io.Writer, stderr io.Writer) *command.Command
- func NewGlossariesInfoCmd(stdout io.Writer, stderr io.Writer) *command.Command
- func NewGlossariesLanguagePairsCmd(stdout io.Writer, stderr io.Writer) *command.Command
- func NewGlossariesListCmd(stdout io.Writer, stderr io.Writer) *command.Command
- func NewLanguagesCmd(stdout io.Writer, stderr io.Writer) *command.Command
- func NewRootCmd(stdout io.Writer, stderr io.Writer) *command.Command
- func NewTranslateTextCmd(stdout io.Writer, stderr io.Writer) *command.Command
- func NewUsageCmd(stdout io.Writer, stderr io.Writer) *command.Command
- type DocumentDownloadCmdConfig
- type DocumentStatusCmdConfig
- type DocumentUploadCmdConfig
- type GlossariesCmdConfig
- type GlossariesCreateCmdConfig
- type GlossariesDeleteCmdConfig
- type GlossariesEntriesCmdConfig
- type GlossariesInfoCmdConfig
- type GlossariesLanguagePairsCmdConfig
- type GlossariesListCmdConfig
- type LanguagesCmdConfig
- type RootCmdConfig
- type TranslateTextCmdConfig
- type UsageCmdConfig
- type Verbosity
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDocumentDownloadCmd ¶
func NewDocumentStatusCmd ¶
func NewDocumentUploadCmd ¶
func NewGlossariesCreateCmd ¶
func NewGlossariesDeleteCmd ¶
func NewGlossariesEntriesCmd ¶
func NewGlossariesInfoCmd ¶
func NewGlossariesListCmd ¶
func NewTranslateTextCmd ¶
Types ¶
type DocumentDownloadCmdConfig ¶
type DocumentDownloadCmdConfig struct {
RootCmdConfig
}
func (*DocumentDownloadCmdConfig) Exec ¶
func (c *DocumentDownloadCmdConfig) Exec(ctx context.Context, args []string) error
func (*DocumentDownloadCmdConfig) RegisterFlags ¶
func (c *DocumentDownloadCmdConfig) RegisterFlags(fs *flag.FlagSet)
type DocumentStatusCmdConfig ¶
type DocumentStatusCmdConfig struct {
RootCmdConfig
}
func (*DocumentStatusCmdConfig) Exec ¶
func (c *DocumentStatusCmdConfig) Exec(ctx context.Context, args []string) error
func (*DocumentStatusCmdConfig) RegisterFlags ¶
func (c *DocumentStatusCmdConfig) RegisterFlags(fs *flag.FlagSet)
type DocumentUploadCmdConfig ¶
type DocumentUploadCmdConfig struct { RootCmdConfig // contains filtered or unexported fields }
func (*DocumentUploadCmdConfig) Exec ¶
func (c *DocumentUploadCmdConfig) Exec(ctx context.Context, args []string) error
func (*DocumentUploadCmdConfig) RegisterFlags ¶
func (c *DocumentUploadCmdConfig) RegisterFlags(fs *flag.FlagSet)
type GlossariesCmdConfig ¶
type GlossariesCmdConfig struct {
RootCmdConfig
}
func (*GlossariesCmdConfig) Exec ¶
func (c *GlossariesCmdConfig) Exec(context.Context, []string) error
func (*GlossariesCmdConfig) RegisterFlags ¶
func (c *GlossariesCmdConfig) RegisterFlags(fs *flag.FlagSet)
type GlossariesCreateCmdConfig ¶
type GlossariesCreateCmdConfig struct { RootCmdConfig // contains filtered or unexported fields }
func (*GlossariesCreateCmdConfig) Exec ¶
func (c *GlossariesCreateCmdConfig) Exec(ctx context.Context, args []string) error
func (*GlossariesCreateCmdConfig) RegisterFlags ¶
func (c *GlossariesCreateCmdConfig) RegisterFlags(fs *flag.FlagSet)
type GlossariesDeleteCmdConfig ¶
type GlossariesDeleteCmdConfig struct {
RootCmdConfig
}
func (*GlossariesDeleteCmdConfig) Exec ¶
func (c *GlossariesDeleteCmdConfig) Exec(ctx context.Context, args []string) error
func (*GlossariesDeleteCmdConfig) RegisterFlags ¶
func (c *GlossariesDeleteCmdConfig) RegisterFlags(fs *flag.FlagSet)
type GlossariesEntriesCmdConfig ¶
type GlossariesEntriesCmdConfig struct { RootCmdConfig // contains filtered or unexported fields }
func (*GlossariesEntriesCmdConfig) Exec ¶
func (c *GlossariesEntriesCmdConfig) Exec(ctx context.Context, args []string) error
func (*GlossariesEntriesCmdConfig) RegisterFlags ¶
func (c *GlossariesEntriesCmdConfig) RegisterFlags(fs *flag.FlagSet)
type GlossariesInfoCmdConfig ¶
type GlossariesInfoCmdConfig struct {
RootCmdConfig
}
func (*GlossariesInfoCmdConfig) Exec ¶
func (c *GlossariesInfoCmdConfig) Exec(ctx context.Context, args []string) error
func (*GlossariesInfoCmdConfig) RegisterFlags ¶
func (c *GlossariesInfoCmdConfig) RegisterFlags(fs *flag.FlagSet)
type GlossariesLanguagePairsCmdConfig ¶
type GlossariesLanguagePairsCmdConfig struct {
RootCmdConfig
}
func (*GlossariesLanguagePairsCmdConfig) Exec ¶
func (c *GlossariesLanguagePairsCmdConfig) Exec(ctx context.Context, args []string) error
func (*GlossariesLanguagePairsCmdConfig) RegisterFlags ¶
func (c *GlossariesLanguagePairsCmdConfig) RegisterFlags(fs *flag.FlagSet)
type GlossariesListCmdConfig ¶
type GlossariesListCmdConfig struct {
RootCmdConfig
}
func (*GlossariesListCmdConfig) Exec ¶
func (c *GlossariesListCmdConfig) Exec(ctx context.Context, args []string) error
func (*GlossariesListCmdConfig) RegisterFlags ¶
func (c *GlossariesListCmdConfig) RegisterFlags(fs *flag.FlagSet)
type LanguagesCmdConfig ¶
type LanguagesCmdConfig struct { RootCmdConfig // contains filtered or unexported fields }
func (*LanguagesCmdConfig) Exec ¶
func (c *LanguagesCmdConfig) Exec(ctx context.Context, args []string) error
func (*LanguagesCmdConfig) RegisterFlags ¶
func (c *LanguagesCmdConfig) RegisterFlags(fs *flag.FlagSet)
type RootCmdConfig ¶
type RootCmdConfig struct {
// contains filtered or unexported fields
}
func (*RootCmdConfig) RegisterFlags ¶
func (c *RootCmdConfig) RegisterFlags(fs *flag.FlagSet)
type TranslateTextCmdConfig ¶
type TranslateTextCmdConfig struct { RootCmdConfig // contains filtered or unexported fields }
func (*TranslateTextCmdConfig) Exec ¶
func (c *TranslateTextCmdConfig) Exec(ctx context.Context, args []string) error
func (*TranslateTextCmdConfig) RegisterFlags ¶
func (c *TranslateTextCmdConfig) RegisterFlags(fs *flag.FlagSet)
type UsageCmdConfig ¶
type UsageCmdConfig struct {
RootCmdConfig
}
func (*UsageCmdConfig) Exec ¶
func (c *UsageCmdConfig) Exec(ctx context.Context, args []string) error
func (*UsageCmdConfig) RegisterFlags ¶
func (c *UsageCmdConfig) RegisterFlags(fs *flag.FlagSet)
Click to show internal directories.
Click to hide internal directories.