Documentation ¶
Index ¶
- func WriteConfig(conf *Config) error
- type Client
- func (c *Client) DeleteVariables(ctx context.Context, vars []string) error
- func (c *Client) DeleteVariablesInteractive(ctx context.Context) error
- func (c *Client) ListVariables(ctx context.Context) error
- func (c *Client) ShowProject(ctx context.Context) error
- func (c *Client) UpdateOrCreateVariable(ctx context.Context, key string, val string) error
- func (c *Client) UpdateOrCreateVariablesFromFile(ctx context.Context, path string, filetype string) (err error)
- type Config
- type FileType
- type Prompt
- type UI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteConfig ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DeleteVariables ¶
func (*Client) DeleteVariablesInteractive ¶
func (*Client) UpdateOrCreateVariable ¶
func (*Client) UpdateOrCreateVariablesFromFile ¶ added in v1.5.0
func (c *Client) UpdateOrCreateVariablesFromFile(ctx context.Context, path string, filetype string) (err error)
UpdateOrCreateVariablesFromFile updates environmental variables by reading a file or stdin If the path is empty, stdin will be used as input
type Config ¶
type Config struct { ApiToken string `split_words:"true"` OrganizationName string `split_words:"true"` }
func ReadConfig ¶
Click to show internal directories.
Click to hide internal directories.