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: Developing CLIs | dev.to | 2024-08-12

    As we started to flesh out our CLI, we also wanted to test edge cases and detect regressions. I surveyed public cobra/bubbletea based CLIs to look for ideas, and found frustratingly few tests. Then we stumbled upon Charm's teatest which gave us a starting point.

  • InfluxDB

    Purpose built for real-time analytics at any scale. InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.

    InfluxDB logo
  • urfave/cli

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

  • elvish

    Powerful scripting language & versatile interactive shell

    Project mention: How to write a programming language and shell in Go with 92% test coverage and [video] | news.ycombinator.com | 2024-08-30

    I gave a talk about the design: https://www.youtube.com/watch?v=wrl9foNXdgM

    As the sibling comment mentioned, you can find documentation on Elvish itself on the website https://elv.sh. There are tutorials and (not 100% but fairly complete) reference documents.

  • kingpin

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

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

  • docopt.go

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

    Project mention: Argdown, like Markdown for argument mapping | news.ycombinator.com | 2024-08-07
  • liner

    Pure Go line editor with history, inspired by linenoise

  • complete

    bash completion written in go + bash completion for go command

  • cli-init

    The easy way to build Golang command-line application.

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

  • carapace-bin

    multi-shell multi-command argument completer

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

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

  • 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

  • wmenu

    An easy to use menu structure for cli applications that prompts users to make choices.

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

Log in or Post with

Go Standard CLI related posts

  • How to write a programming language and shell in Go with 92% test coverage and [video]

    3 projects | news.ycombinator.com | 30 Aug 2024
  • Nested Prompts in Go using promptui

    3 projects | dev.to | 14 Jun 2024
  • 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
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 8 Sep 2024
    InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards. 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 37,478
2 urfave/cli 22,140
3 elvish 5,610
4 kingpin 3,475
5 The Platinum Searcher 2,798
6 Dnote 2,744
7 go-flags 2,552
8 pflag 2,377
9 readline 2,076
10 kong 2,058
11 docopt.go 1,427
12 liner 1,037
13 complete 925
14 cli-init 922
15 mow.cli 871
16 flaggy 854
17 carapace-bin 834
18 cli 730
19 argparse 598
20 box-cli-maker 527
21 carapace 309
22 1build 223
23 wmenu 216

Sponsored
Purpose built for real-time analytics at any scale.
InfluxDB Platform is powered by columnar analytics, optimized for cost-efficient storage, and built with open data standards.
www.influxdata.com

Did you konow that Go is
the 4th most popular programming language
based on number of metions?