Documentation
¶
Index ¶
- Variables
- func Configure(params *ConfigureParameters) error
- type CLI
- func (c *CLI) ItemsCreate(params *ItemsCreateParameters) error
- func (c *CLI) ItemsDelete(params *ItemsDeleteParameters) error
- func (c *CLI) ItemsGet(params *ItemsGetParameters) error
- func (c *CLI) ItemsList(params *ItemsListParameters) error
- func (c *CLI) ItemsNew(params *ItemsNewParameters) error
- func (c *CLI) ItemsPull(params *ItemsPullParameters) error
- func (c *CLI) ItemsPush(params *ItemsPushParameters) error
- func (c *CLI) ItemsSearch(params *ItemsSearchParameters) error
- func (c *CLI) ItemsUpdate(params *ItemsUpdateParameters) error
- type Config
- type ConfigureParameters
- type ItemsCreateParameters
- type ItemsDeleteParameters
- type ItemsGetParameters
- type ItemsListParameters
- type ItemsNewParameters
- type ItemsPullParameters
- type ItemsPushParameters
- type ItemsSearchParameters
- type ItemsUpdateParameters
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrWriteWithoutFile = errors.New("cannot specify --write without --file") ErrCreateWithID = errors.New("cannot set id when creating a new item") ErrIDRequired = errors.New("id must be specified") ErrIDsRequired = errors.New("ids must be specified") ErrIDsWithAll = errors.New("cannot specify ids when --all is specified") )
Functions ¶
func Configure ¶
func Configure(params *ConfigureParameters) error
Types ¶
type CLI ¶
type CLI struct {
// contains filtered or unexported fields
}
func (*CLI) ItemsCreate ¶
func (c *CLI) ItemsCreate(params *ItemsCreateParameters) error
$ qiita items create
func (*CLI) ItemsDelete ¶
func (c *CLI) ItemsDelete(params *ItemsDeleteParameters) error
func (*CLI) ItemsList ¶
func (c *CLI) ItemsList(params *ItemsListParameters) error
$ qiita items list
func (*CLI) ItemsNew ¶
func (c *CLI) ItemsNew(params *ItemsNewParameters) error
func (*CLI) ItemsPull ¶
func (c *CLI) ItemsPull(params *ItemsPullParameters) error
func (*CLI) ItemsPush ¶ added in v0.2.0
func (c *CLI) ItemsPush(params *ItemsPushParameters) error
func (*CLI) ItemsSearch ¶
func (c *CLI) ItemsSearch(params *ItemsSearchParameters) error
$ qiita items search
func (*CLI) ItemsUpdate ¶
func (c *CLI) ItemsUpdate(params *ItemsUpdateParameters) error
type ConfigureParameters ¶
type ItemsCreateParameters ¶
type ItemsDeleteParameters ¶
type ItemsDeleteParameters struct {
Args []string
}
type ItemsGetParameters ¶
type ItemsGetParameters struct {
Args []string
}
type ItemsListParameters ¶
type ItemsNewParameters ¶
type ItemsPullParameters ¶
type ItemsPushParameters ¶ added in v0.2.0
type ItemsSearchParameters ¶
Click to show internal directories.
Click to hide internal directories.