cli

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version = "dev"
	Commit  = "none"
	Date    = "unknown"
)

Build metadata, stamped via -ldflags by goreleaser. goreleaser targets github.com/tamnd/linkedin-cli/cli.{Version,Commit,Date}.

Functions

func New added in v0.2.0

func New() *kit.App

New builds the kit App: the identity, the linkedin-specific global flags, the per-run config defaults, and every command as a kit escape hatch. cli only touches kit here; kit wraps cobra/fang internally.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App is the per-run state every command works through. Each command is a kit.Command escape hatch that rebuilds this state from the run context with appFromCtx, so they share the resolved config, the client/cache, and the output settings kit resolved once for the run.

func (*App) StorePath added in v0.2.0

func (a *App) StorePath() string

StorePath is the fixed location of the typed local store, under the data dir.

type Row added in v0.2.0

type Row = render.Record

Row is one output record: an ordered, curated column set (Cols/Vals) for the table, csv, tsv, and url views, plus the full typed object as Value for json, jsonl, raw, and template. It is kit's render.Record, so every row builder feeds straight into the shared renderer with no per-format code of our own.

Jump to

Keyboard shortcuts

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