Awesome Go Standard CLI Libraries

  • acmd acmd 115
    star
    updated 7 months ago MIT License

    Simple, useful and opinionated CLI package in Go.

  • updated about 2 years ago MIT License

    Argparse for golang. Just because `flag` sucks

  • argv argv 41
    star
    updated over 4 years ago MIT License
  • updated 11 months ago MIT License

    Make Highly Customized Boxes for CLI

  • updated almost 5 years ago MIT License

    git middleware for Caddy

  • updated almost 2 years ago Apache License 2.0

    Calories Tracker for the Commandline

  • updated 9 months ago Apache License 2.0

    command argument completion generator for spf13/cobra

  • updated 9 months ago MIT License

    multi-shell multi-command argument completer

  • updated 9 months ago MIT License

    define simple completions using a spec file

  • cli cli 1,724
    star
    updated about 1 year ago Mozilla Public Li...

    A Go library for implementing command-line interfaces.

  • cli cli 694
    star
    updated over 1 year ago MIT License

    CLI - A package for building command line app with go

  • clif clif 128
    star
    updated almost 6 years ago MIT License

    Another CLI framework for Go. It works on my machine.

  • climax climax 216
    star
    updated about 4 years ago MIT License

    Climax is an alternative CLI with the human face

  • clir clir 153
    star
    updated over 1 year ago MIT License

    A Simple and Clear CLI library. Dependency free.

  • cmdr cmdr 135
    star
    updated about 1 month ago Apache License 2.0

    POSIX-compliant command-line UI (CLI) parser and Hierarchical-configuration operations

  • updated about 2 years ago MIT License

    Automatically sets up command line flags based on struct fields and tags.

  • updated over 1 year ago MIT License

    bash completion written in go + bash completion for go command

  • dnote dnote 2,742
    star
    updated 5 months ago Other

    A simple command line notebook for programmers

  • docopt.go docopt.go 1,430
    star
    updated 12 months ago MIT License

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

  • elvish elvish 5,666
    star
    updated about 1 month ago BSD 2-Clause "Sim...

    Powerful scripting language & versatile interactive shell

  • flag flag 131
    star
    updated almost 4 years ago MIT License

    Flag is a simple but powerful command line option parsing library for Go support infinite level subcommand

  • flaggy flaggy 831
    star
    updated over 1 year ago The Unlicense

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

  • updated over 1 year ago The Unlicense

    A collection of CLI argument types for the Go `flag` package.

  • gcli gcli 921
    star
    updated about 7 years ago MIT License

    The easy way to build Golang command-line application.

  • updated over 1 year ago MIT License

    CLI program to encrypt/decrypt andOTP files

  • go-arg go-arg 1,990
    star
    updated 3 months ago BSD 2-Clause "Sim...

    Struct-based argument parsing in Go

  • updated almost 4 years ago Apache License 2.0

    A full-featured and easy to use command-line package

  • gocmd gocmd 66
    star
    updated over 1 year ago MIT License

    A Go library for building command line applications.

  • updated over 1 year ago MIT License

    A go library for easy configure and run command chains. Such like pipelining in unix shells.

  • updated over 4 years ago MIT License

    Go library to simplify CLI workflow

  • updated 9 months ago The Unlicense

    GoConsole: the golang component that eases the creation of beautiful command line interfaces.

  • updated over 1 year ago Apache License 2.0

    an expect-like golang library to automate control of terminal or console based programs.

  • go-flags go-flags 2,436
    star
    updated over 1 year ago BSD 3-Clause "New...

    go command line option parser

  • updated 5 months ago Mozilla Public Li...

    Fully featured Go (golang) command line option parser with built-in auto-completion support.

  • updated over 9 years ago MIT License

    Terminal utilities for golang

  • ishell ishell 1,671
    star
    updated about 1 year ago MIT License

    Library for creating interactive cli applications.

  • job job 145
    star
    updated over 4 years ago

    JOB, make your short-term command as a long-term job. 将命令行规划成任务的工具

  • kingpin kingpin 3,497
    star
    updated about 2 months ago MIT License

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

  • kong kong 2,132
    star
    updated 20 days ago MIT License

    Kong is a command-line parser for Go

  • liner liner 1,048
    star
    updated over 1 year ago MIT License

    Pure Go line editor with history, inspired by linenoise

  • mcli mcli 24
    star
    updated 10 months ago MIT License

    A minimal but powerful cli library for Go

  • updated 9 months ago MIT License

    A versatile library for building CLI applications in Go

  • ops ops 1,187
    star
    updated 8 months ago MIT License

    ops - build and run nanos unikernels

  • readline readline 2,060
    star
    updated 5 months ago MIT License

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

  • sand sand 26
    star
    updated almost 6 years ago MIT License

    Package for creating interpreters

  • sflags sflags 150
    star
    updated over 3 years ago BSD 3-Clause "New...

    Generate flags by parsing structures

  • updated over 1 year ago MIT License

    Strumt is a library to create prompt chain

  • updated 5 months ago MIT License
  • updated about 2 years ago Apache License 2.0

    Go subcommand library.

  • updated over 1 year ago MIT License

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

  • ts ts 20
    star
    updated over 5 years ago Apache License 2.0

    timestamp convert & compare tool. 时间戳转换与对比工具

  • wlog wlog 66
    star
    updated 6 months ago MIT License

    A simple logging interface that supports cross-platform color and concurrency.

  • wmenu wmenu 216
    star
    updated 6 months ago MIT License

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