carapace-bin
argparse
carapace-bin | argparse | |
---|---|---|
6 | 2 | |
703 | 589 | |
12.0% | - | |
9.8 | 0.0 | |
3 days ago | over 1 year ago | |
Go | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
carapace-bin
- FLaNK AI Weekly for 29 April 2024
- Carapace: A multi-shell completion library and binary
-
Release Radar • March 2024 Edition
It's exciting when something breaks out on its own, and that's what's happened with Carapace. Originally part of a 13-piece project, it now has a major first version and it's a multi-shell completion library and binary. Carapace consists of a pflag fork, a yaml spec, a shell lexer, a completion bridge and various scrapers. Congratulations to the team on shipping your first version 🥳.
- Show HN: Inshellisense – IDE style shell autocomplete
- Carapace-bin: multi-shell multi-command argument completer
-
Fish (shell) porting to Rust from C++
I use Carapace which provides completions across tons of shells.
argparse
-
Question: Custom argument parsing with flag ?
Nice to find that golang has this tool (I found only argparse adaptation https://github.com/akamensky/argparse). For me, as newcomer, flag is soooo basic. The reason why I still stick with it, because standard approach is more important for my use case, which is one layer upper than single language best parser. I am doing the same thing for various languages to make argument parsing be as easy as configuration change (if you are curious see https://github.com/ashlander/protoargs). That does not exclude potential Kong usage as an alternative backend at some point
- akamensky/argparse: Argparse for Golang. Just because "flag" sucks!
What are some alternatives?
complete - bash completion written in go + bash completion for go command
go-arg - Struct-based argument parsing in Go
The Platinum Searcher - A code search tool similar to ack and the_silver_searcher(ag). It supports multi platforms and multi encodings.
cobra - A Commander for modern Go CLI interactions
subcmd - Another approach to parsing and running subcommands. Works alongside the standard flag package.
go-flags - go command line option parser
docopt.go - A command-line arguments parser that will make you smile.
job - JOB, make your short-term command as a long-term job. 将命令行规划成任务的工具
Dnote - A simple command line notebook for programmers
elvish - Powerful scripting language & Versatile interactive shell
pflag - Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.