Awesome Go Standard CLI Libraries

  • acmd acmd 108
    star
    updated about 2 months ago MIT License

    Simple, useful and opinionated CLI package in Go.

  • updated over 1 year ago MIT License

    Argparse for golang. Just because `flag` sucks

  • argv argv 41
    star
    updated about 4 years ago MIT License
  • updated 5 months ago MIT License

    Make Highly Customized Boxes for CLI

  • updated over 4 years ago MIT License

    git middleware for Caddy

  • updated over 1 year ago Apache License 2.0

    Calories Tracker for the Commandline

  • updated 2 months ago Apache License 2.0

    command argument completion generator for spf13/cobra

  • updated about 2 months ago MIT License

    multi-shell multi-command argument completer

  • updated about 2 months ago MIT License

    define simple completions using a spec file

  • cli cli 1,708
    star
    updated 5 months ago Mozilla Public Li...

    A Go library for implementing command-line interfaces.

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

    CLI - A package for building command line app with go

  • clif clif 124
    star
    updated about 5 years ago MIT License

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

  • climax climax 215
    star
    updated over 3 years ago MIT License

    Climax is an alternative CLI with the human face

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

    A Simple and Clear CLI library. Dependency free.

  • cmdr cmdr 131
    star
    updated 12 days ago Apache License 2.0

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

  • updated over 1 year ago MIT License

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

  • updated 10 months ago MIT License

    bash completion written in go + bash completion for go command

  • dnote dnote 2,657
    star
    updated 3 months ago Other

    A simple command line notebook for programmers

  • docopt.go docopt.go 1,422
    star
    updated 5 months ago MIT License

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

  • elvish elvish 5,227
    star
    updated 3 months ago BSD 2-Clause "Sim...

    Elvish = Expressive Programming Language + Versatile Interactive Shell

  • flag flag 131
    star
    updated over 3 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 12 months 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 about 1 year ago The Unlicense

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

  • gcli gcli 925
    star
    updated over 6 years ago MIT License

    The easy way to build Golang command-line application.

  • updated about 1 year ago MIT License

    CLI program to encrypt/decrypt andOTP files

  • go-arg go-arg 1,852
    star
    updated about 1 month ago BSD 2-Clause "Sim...

    Struct-based argument parsing in Go

  • updated over 3 years ago Apache License 2.0

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

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

    A Go library for building command line applications.

  • updated almost 1 year ago MIT License

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

  • updated almost 4 years ago MIT License

    Go library to simplify CLI workflow

  • updated 3 months ago The Unlicense

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

  • updated about 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 about 1 year ago BSD 3-Clause "New...

    go command line option parser

  • updated 2 months ago Mozilla Public Li...

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

  • updated almost 9 years ago MIT License

    Terminal utilities for golang

  • ishell ishell 1,536
    star
    updated 7 months ago MIT License

    Library for creating interactive cli applications.

  • job job 140
    star
    updated almost 4 years ago

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

  • kingpin kingpin 3,446
    star
    updated 28 days ago MIT License

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

  • kong kong 1,831
    star
    updated 22 days ago MIT License

    Kong is a command-line parser for Go

  • liner liner 1,021
    star
    updated 10 months ago MIT License

    Pure Go line editor with history, inspired by linenoise

  • mcli mcli 24
    star
    updated 3 months ago MIT License

    A minimal but powerful cli library for Go

  • updated about 2 months ago MIT License

    A versatile library for building CLI applications in Go

  • ops ops 1,187
    star
    updated about 1 month ago MIT License

    ops - build and run nanos unikernels

  • readline readline 2,015
    star
    updated 6 months ago MIT License

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

  • sand sand 24
    star
    updated over 5 years ago MIT License

    Package for creating interpreters

  • sflags sflags 148
    star
    updated almost 3 years ago BSD 3-Clause "New...

    Generate flags by parsing structures

  • updated 11 months ago MIT License

    Strumt is a library to create prompt chain

  • updated 5 months ago MIT License
  • updated over 1 year ago Apache License 2.0

    Go subcommand library.

  • updated 9 months 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 almost 5 years ago Apache License 2.0

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

  • wlog wlog 65
    star
    updated about 2 months ago MIT License

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

  • wmenu wmenu 211
    star
    updated about 2 months ago MIT License

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