dashboard

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiscoverProfiles

func DiscoverProfiles() []string

DiscoverProfiles returns deduplicated profile directories from 3 sources: 1. Config file profiles array 2. Claudewheel/claudelauncher options.json 3. ~/.claude-* directories with .credentials.json Always includes ~/.claude as default.

func FetchAndRender

func FetchAndRender(dir string, barCfg *render.BarConfig) (string, error)

FetchAndRender fetches usage for a profile directory and renders 3 lines.

func RenderDashboard

func RenderDashboard(dirs []string) string

RenderDashboard fetches all profiles in parallel and returns the complete output.

func Run

func Run(live bool) error

Run is the exported entry point for the dashboard.

func RunLive

func RunLive(dirs []string) error

RunLive runs the dashboard in live mode with periodic refresh.

func RunOnce

func RunOnce(dirs []string) error

RunOnce renders the dashboard once to stdout.

Types

type ProfileResult

type ProfileResult struct {
	Dir    string
	Output string
	Err    error
}

ProfileResult holds the rendered output for a single profile.

Jump to

Keyboard shortcuts

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