Documentation ¶ Overview ¶ Package utils provides shared CLI utility functions. Index ¶ func NewClient(cmd *cobra.Command) (*client.Client, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewClient ¶ func NewClient(cmd *cobra.Command) (*client.Client, error) 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. Types ¶ This section is empty. Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.