cmd

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2025 License: MIT Imports: 30 Imported by: 0

Documentation

Overview

Package cmd provides Cobra CLI commands for dumber.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the root command.

func GetApp

func GetApp() *cli.App

GetApp returns the initialized app (for use by subcommands).

func SetBuildInfo

func SetBuildInfo(info build.Info)

SetBuildInfo sets the build information (called from main.go before Execute).

Types

type SessionInfo

type SessionInfo struct {
	SessionID string
	ShortID   string
	Filename  string
	Path      string
	Size      int64
	ModTime   time.Time

	// DB metadata (optional)
	StartedAt time.Time
	EndedAt   *time.Time
	Type      string
	FromDB    bool
}

SessionInfo holds metadata about a log session.

Jump to

Keyboard shortcuts

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