Go Flags

Open-source Go projects categorized as Flags Edit details

Top 9 Go Flag Projects

  • kong

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

    Project mention: Coral, a friendly Cobra fork with nearly all its features, but only 4 dependencies | reddit.com/r/golang | 2022-02-02

    We switched all our cli tools from cobra/viper to kong. I can highly recommend it. Almost no deps and easy to use, a great replacement for cobra in my opinion.

  • flaggy

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

    Project mention: Return error if an command line argument does not exist in the program | reddit.com/r/golang | 2022-05-11

    Maybe the flaggy package can do this easily, but if there is a way with the standard flag package it would be best.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • grumble

    A powerful modern CLI and SHELL

    Project mention: Ask HN: What libraries does go have for building interactive shells? | news.ycombinator.com | 2022-01-16

    I want to build a command line tool with context-sensitive completion. This is important because it allows interactive exploration of the options -- both of the application and of the current data model -- available to the user.

    So far this is what I've found.

    https://github.com/desertbit/grumble

    https://github.com/spf13/cobra

    https://github.com/urfave/cli

    https://github.com/abiosoft/ishell

    I would like to know people's experiences and recommendations in building such an app in go.

  • gookit/config

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

  • gocmd

    A Go library for building command line applications.

  • uconfig

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

  • cortana

    cortana gives you a new style to write command line programs

    Project mention: An extremely easy to use command line parsing library you'v never seen before | news.ycombinator.com | 2021-07-09
  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • binflags

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

  • flago

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

    Project mention: Flago my rookie attempt to make a command line flag parser | reddit.com/r/golang | 2022-06-01

    Github

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). The latest post mention was on 2022-06-01.

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 992
2 flaggy 802
3 grumble 393
4 gookit/config 365
5 gocmd 56
6 uconfig 49
7 cortana 30
8 binflags 9
9 flago 0
Find remote jobs at our new job board 99remotejobs.com. There are 2 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com