args

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtraFlags

func ExtraFlags(skip func(name string) bool) (extras map[string]string)

ExtraFlags parse original CLI flags (before standalone "--") and accepts both --flag=value and --flag value format. This method is used to parse the flags not pre-defined by our application. (i.e. flags like --help, --profile)

func ExtraKVArgs

func ExtraKVArgs(args []string) (extras map[string]string)

ExtraKVArgs parse original CLI arguments (after standalone "--") and accepts flag=value

Types

This section is empty.

Jump to

Keyboard shortcuts

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