Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
peggo
Peggo is a Go implementation of the Peggy Orchestrator for the Injective Chain (by InjectiveLabs)
Like the other commenters said, it's probably best to just split the string and go through it manually. If you need a real parser, check out: https://github.com/alecthomas/participle
Sounds like you’re looking for a parsing expression generator if the number of params is unknown: https://github.com/InjectiveLabs/peggo
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- Python library cmd2 equivalent in golang
- climate "CLI Mate": a CLI library that autogenerates CLIs from structs / functions with support for nested subcommands, global / local flags, help generation from godocs, typo suggestions, shell completion and more
- Which packages do you recommend for building cli tools?
- K3S Binary, How does that work?
- GoConsole: New Update! thanks all of you for your advice and your help.