Question: Custom argument parsing with flag ?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • protoargs

    Code generated C++11/Python/Rust/Go command line arguments parser, based on protobuf configuration

  • 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

  • argparse

    Argparse for golang. Just because `flag` sucks (by akamensky)

  • 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

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • goutil

    💪 Helper Utils(700+): int, byte, string, array/slice, map, struct, dump, convert/format, error, web/http, cli/flag, OS/ENV, filesystem, system, test/assert, time and more. Go 常用的一些工具函数:数字,字符串,数组,Map,结构体,反射,文本,文件,错误,时间日期,特殊处理,格式化,常用信息获取等等

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.

Suggest a related project

Related posts