cli

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: AGPL-3.0 Imports: 49 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveArgs

func ResolveArgs(root *cobra.Command, args []string) []string

ResolveArgs implements zero-config onboarding: when the first argument is a plain file path (not a subcommand or flag), it routes by file type so `litescope data.db` just works.

  • a SQLite database -> `doctor <file>` (instant health verdict)
  • a .csv/.tsv/.json -> `import <file>` (turn it into a database)

Anything else is left untouched for Cobra to handle (or error on).

func Root

func Root() *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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