Go Standard CLI

Open-source Go projects categorized as Standard CLI

Top 23 Go Standard CLI Projects

  • cobra

    A Commander for modern Go CLI interactions

  • Project mention: The power of the CLI with Golang and Cobra CLI | dev.to | 2024-04-06

    We can use the flag with --date or -date, Go already does the automatic check. We can make our entire boilerplate with this approach, but let's make it a little easier and use the Cobra CLI package.

  • 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

  • Project mention: I need CTRL + A (Select all) command on the cmd | /r/linuxquestions | 2023-05-27
  • 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 | 20 May 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,237
2 urfave/cli 21,702
3 elvish 5,431
4 kingpin 3,450
5 The Platinum Searcher 2,795
6 Dnote 2,708
7 go-flags 2,511
8 pflag 2,321
9 readline 2,036
10 kong 1,840
11 mitchellh/cli 1,726
12 docopt.go 1,424
13 liner 1,033
14 cli-init 925
15 complete 919
16 mow.cli 873
17 flaggy 846
18 cli 721
19 carapace-bin 723
20 argparse 589
21 box-cli-maker 455
22 carapace 254
23 1build 221

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