Go Standard CLI

Open-source Go projects categorized as Standard CLI

Top 23 Go Standard CLI Projects

Standard CLI
  • cobra

    A Commander for modern Go CLI interactions

  • Project mention: CLI Tools every Developer should know | dev.to | 2024-05-24

    You can visit the official website for more information on using Cobra: Cobra Documentation

  • urfave/cli

    A simple, fast, and fun package for building command line apps in Go (by urfave)

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

    Powerful scripting language & Versatile interactive shell

  • Project mention: State of the Terminal | news.ycombinator.com | 2024-05-16
  • kingpin

    CONTRIBUTIONS ONLY: A Go (golang) command line and flag parser

  • 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

    Args could also have detailed help (like flags) -- usage line is already auto-generated from arg(s) name and type but that's about it. This is something Cobra doesn't do for whatever reason (but https://github.com/alecthomas/kingpin does and I like it)

  • The Platinum Searcher

    A code search tool similar to ack and the_silver_searcher(ag). It supports multi platforms and multi encodings.

  • Dnote

    A simple command line notebook for programmers

  • go-flags

    go command line option parser

  • SaaSHub

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

    SaaSHub logo
  • pflag

    Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.

  • readline

    Readline is a pure go(golang) implementation for GNU-Readline kind library

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

  • mitchellh/cli

    A Go library for implementing command-line interfaces. (by mitchellh)

  • docopt.go

    A command-line arguments parser that will make you smile.

  • liner

    Pure Go line editor with history, inspired by linenoise

  • cli-init

    The easy way to build Golang command-line application.

  • complete

    bash completion written in go + bash completion for go command

  • mow.cli

    A versatile library for building CLI applications in Go

  • flaggy

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

  • cli

    CLI - A package for building command line app with go (by mkideal)

  • carapace-bin

    multi-shell multi-command argument completer

  • Project mention: FLaNK AI Weekly for 29 April 2024 | dev.to | 2024-04-29
  • argparse

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

  • box-cli-maker

    Make Highly Customized Boxes for CLI

  • Project mention: Show HN: Box CLI Maker | news.ycombinator.com | 2024-03-04
  • carapace

    command argument completion generator for spf13/cobra

  • 1build

    Frictionless way of managing project-specific commands

  • 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 Standard CLI related posts

  • Build your own curl in Golang

    2 projects | dev.to | 27 Mar 2024
  • Show HN: Box CLI Maker

    1 project | news.ycombinator.com | 4 Mar 2024
  • Elvish, expressive programming language and a versatile interactive shell

    1 project | news.ycombinator.com | 9 Feb 2024
  • Carapace-bin: multi-shell multi-command argument completer

    1 project | news.ycombinator.com | 4 Nov 2023
  • How to read Cobra command line flag

    1 project | /r/golang | 29 Oct 2023
  • Dockerizing Golang CLI Tool - A Step-by-Step Guide

    3 projects | dev.to | 11 Oct 2023
  • Packaging Go for Arch Linux Tutorial

    2 projects | dev.to | 17 Sep 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 7 Jun 2024
    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. Learn more →

Index

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

Project Stars
1 cobra 36,471
2 urfave/cli 21,807
3 elvish 5,484
4 kingpin 3,457
5 The Platinum Searcher 2,795
6 Dnote 2,713
7 go-flags 2,516
8 pflag 2,328
9 readline 2,040
10 kong 1,880
11 mitchellh/cli 1,726
12 docopt.go 1,426
13 liner 1,036
14 cli-init 925
15 complete 922
16 mow.cli 871
17 flaggy 846
18 cli 721
19 carapace-bin 735
20 argparse 589
21 box-cli-maker 459
22 carapace 268
23 1build 221

Sponsored
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.
www.influxdata.com