Popularity
2.7
Declining
Activity
0.0
Stable
41
3
8
Programming language: Go
License: MIT License
Tags:
Command Line
Standard CLI
argv alternatives and similar packages
Based on the "Standard CLI" category.
Alternatively, view argv alternatives based on common mentions on social networks and blogs.
-
survey
DISCONTINUED. A golang library for building interactive and accessible prompts with full support for windows and posix terminals. -
The Platinum Searcher
A code search tool similar to ack and the_silver_searcher(ag). It supports multi platforms and multi encodings. -
flaggy
Idiomatic Go input parsing with subcommands, positional values, and flags at any position. No required project or package layout and no external dependencies. -
flag
Flag is a simple but powerful command line option parsing library for Go support infinite level subcommand -
go-getoptions
Fully featured Go (golang) command line option parser with built-in auto-completion support. -
command-chain
A go library for easy configure and run command chains. Such like pipelining in unix shells. -
Go-Console
GoConsole: the golang component that eases the creation of beautiful command line interfaces.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
Promo
www.saashub.com
Do you think we are missing an alternative of argv or a related project?
Popular Comparisons
README
Argv
Argv is a library for Go to split command line string into arguments array.
Documentation
Documentation can be found at Godoc
Example
func TestArgv(t *testing.T) {
args, err := Argv(" ls `echo /` | wc -l ", func(backquoted string) (string, error) {
return backquoted, nil
}, nil)
if err != nil {
t.Fatal(err)
}
expects := [][]string{
[]string{"ls", "echo /"},
[]string{"wc", "-l"},
}
if !reflect.DeepEqual(args, expects) {
t.Fatal(args)
}
}
LICENSE
MIT.
*Note that all licence references and agreements mentioned in the argv README section above
are relevant to that project's source code only.