Go Flags

Open-source Go projects categorized as Flags

Top 14 Go Flag Projects

  • kong

    Kong is a command-line parser for Go (by alecthomas)

  • Project mention: 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 | /r/golang | 2023-07-07

    I’ve been using https://github.com/alecthomas/kong for exposing generated protobuf structs for CLI args. How does your library compare?

  • flaggy

    Idiomatic Go input parsing with subcommands, positional values, and flags at any position. No required project or package layout and no external dependencies.

  • 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.

    WorkOS logo
  • gookit/config

    📝 Go configuration manage(load,get,set,export). support JSON, YAML, TOML, Properties, INI, HCL, ENV and Flags. Multi file load, data override merge, parse ENV var. Go应用配置加载管理,支持多种格式,多文件加载,远程文件加载,支持数据合并,解析环境变量名 (by gookit)

  • Project mention: topoconfig: enhancing config declarations with graphs | dev.to | 2023-10-03

    gookit/config

  • grumble

    A powerful modern CLI and SHELL

  • konf

    The simplest config loader for Go that reads/watches from file, env, flag and clouds (AWS, Azure, GCP). (by nil-go)

  • Project mention: Konf 1.0 – The simplest config loader for Go supports file, env, flag and clouds | news.ycombinator.com | 2024-03-20
  • uconfig

    Lightweight, zero-dependency, and extendable configuration management library for Go

  • cortana

    cortana gives you a new style to write command line programs

  • 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
  • xconf

    Dead simple yet complete and powerful configuration manager for Go.

  • go-binder

    Go binding configuration and command flag made easy✨✨

  • anyflag

    Generic implementation of Cobra Value and SliceValue types

  • binflags

    Bitset library provides implementation for all int/uint types and arrays and maps

  • xconf

    Golang Configuration Package (by actforgood)

  • compver

    An little cli tool to compare or get a core block of versions. Based on semantic versioning.

  • flago

    🐉 Simple and Flexible Command line flag parser in go (Working on it)

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go Flags related posts

Index

What are some of the best open-source Flag projects in Go? This list will help you:

Project Stars
1 kong 1,823
2 flaggy 846
3 gookit/config 520
4 grumble 516
5 konf 130
6 uconfig 70
7 cortana 29
8 xconf 20
9 go-binder 18
10 anyflag 15
11 binflags 8
12 xconf 7
13 compver 3
14 flago 0

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com