Discover Packages
github.com/dpeckett/args
package
module
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Oct 29, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
README
README
¶
args
A Go library for creating lightweight CLI wrappers.
Expand ▾
Collapse ▴
Documentation
¶
MarshalArgs marshals a struct into a slice of strings suitable for passing to
a command line program. It's a very naive implementation that only supports
a limited set of types.
type ArgMarshaler interface {
MarshalArg() string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.