parser

package
v0.0.0-...-6070400 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2025 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Overview

Package parser parses input data to target Runners.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ExitCodeTag provides exit code value.
	ExitCodeTag = errors.NewTagKey("exit_code")
)
View Source
var (
	ServiceName = "base-adb"
)

Functions

This section is empty.

Types

type Runner

type Runner interface {
	Run(context.Context) error
}

func ParseArgs

func ParseArgs(ctx context.Context, args []string) (Runner, error)

ParseArgs parses arguments and return a runner to execute CLI.

Jump to

Keyboard shortcuts

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