utils

package
v0.98.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2026 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package utils provides shared CLI utility functions.

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL