Documentation
¶
Overview ¶
Package utils provides shared CLI utility functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
NewClient builds an API client from CLI flags, environment variables, and stored config. Server URL resolution order: --server-url, FLOWBOT_SERVER_URL, then stored server_url. Token resolution order: FLOWBOT_TOKEN, then stored token file.
func NewPublicClient ¶
NewPublicClient builds an API client that can call public endpoints without a token. Server URL resolution matches NewClient. Returns an error when no server URL is configured.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.