mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-31 09:21:18 -05:00
Bumps [github.com/gookit/config/v2](https://github.com/gookit/config) from 2.1.8 to 2.2.2. - [Release notes](https://github.com/gookit/config/releases) - [Commits](https://github.com/gookit/config/compare/v2.1.8...v2.2.2) --- updated-dependencies: - dependency-name: github.com/gookit/config/v2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
13 lines
382 B
Go
13 lines
382 B
Go
// Package cmdline provide quick build and parse cmd line string.
|
|
package cmdline
|
|
|
|
// LineBuild build command line string by given args.
|
|
func LineBuild(binFile string, args []string) string {
|
|
return NewBuilder(binFile, args...).String()
|
|
}
|
|
|
|
// ParseLine input command line text. alias of the StringToOSArgs()
|
|
func ParseLine(line string) []string {
|
|
return NewParser(line).Parse()
|
|
}
|