Documentation ¶
Index ¶
- type Client
- func (c *Client) API(cmd *cobra.Command) *packngo.Client
- func (c *Client) Config(cmd *cobra.Command) *viper.Viper
- func (c *Client) DefaultConfig(withExtension bool) string
- func (c *Client) Format() outputPkg.Format
- func (c *Client) Init(cmd *cobra.Command)
- func (c *Client) ListOptions(defaultIncludes, defaultExcludes []string) *packngo.ListOptions
- func (c *Client) NewCommand() *cobra.Command
- func (c *Client) SetToken(token string)
- func (c *Client) Token() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Version string // contains filtered or unexported fields }
func (*Client) DefaultConfig ¶
func (*Client) ListOptions ¶
func (c *Client) ListOptions(defaultIncludes, defaultExcludes []string) *packngo.ListOptions
ListOptions creates a packngo.ListOptions using the includes and excludes persistent flags. When not defined, the defaults given will be supplied.
func (*Client) NewCommand ¶
Click to show internal directories.
Click to hide internal directories.