cli

package
v0.0.54-rc3 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCommand

func RunCommand(args CLIArgs) uint

Switch-case that selects the command to run

Types

type CLIArgs

type CLIArgs struct {
	Command string
	Args    any
}

func ParseCLIArgs

func ParseCLIArgs() (CLIArgs, error)

Parse cli args, return an object with command and parsed args. Return an error if some argument is missing or if command does not exist

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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