Go-lang Command Line Standard CLI

Back

1. acmd

Simple, useful and opinionated CLI package in Go.

2. argparse

Command line argument parser inspired by Python's argparse module.

3. argv

Go library to split command line string as arguments array using the bash syntax.

4. cli

Simple and complete API for building command line interfaces in Go.

5. climax

Alternative CLI with "human face", in spirit of Go command.

6. clîr

A Simple and Clear CLI library. Dependency free.

7. cmd

Extends the standard `flag` package to support sub commands and more in idiomatic way.

8. cmdr

A POSIX/GNU style, getopt-like command-line UI Go library.

9. cobra

Commander for modern Go CLI interactions.

10. command-chain

such like pipelining in unix shells.

11. commandeer

Dev-friendly CLI apps: sets up flags, defaults, and usage based on struct fields and tags.

12. complete

Write bash completions in Go + Go command bash completion.

13. Dnote

A simple command line notebook with multi-device sync.

14. elvish

An expressive programming language and a versatile interactive shell.

15. env

Tag-based environment configuration for structs.

16. flag

Simple but powerful command line option parsing library for Go supporting subcommand.

17. flaggy

A robust and idiomatic flags package with excellent subcommand support.

18. flagvar

A collection of flag argument types for Go's standard `flag` package.

19. go-andotp

A CLI program to encrypt/decrypt [andOTP](https://github.com/andOTP/andOTP) files. Can be used as library as well.

20. go-arg

Struct-based argument parsing in Go.

21. go-commander

Go library to simplify CLI workflow.

22. go-flags

go command line option parser.

23. go-getoptions

Go option parser inspired on the flexibility of Perl’s GetOpt::Long.

24. gocmd

Go library for building command line applications.

25. hiboot cli

cli application framework with auto configuration and dependency injection.

26. job

JOB, make your short-term command as a long-term job.

27. kingpin

Command line and flag parser supporting sub commands (superseded by `kong`; see below).

28. liner

Go readline-like library for command-line interfaces.

29. mitchellh/cli

Go library for implementing command-line interfaces.

30. mow.cli

Go library for building CLI applications with sophisticated flag and argument parsing and validation.

31. ops

Unikernel Builder/Orchestrator.

32. pflag

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

33. sand

Simple API for creating interpreters and so much more.

34. sflags

Struct based flags generator for flag, urfave/cli, pflag, cobra, kingpin and other libraries.

35. strumt

Library to create prompt chain.

36. subcmd

Another approach to parsing and running subcommands. Works alongside the standard `flag` package.

37. ts

Timestamp convert & compare tool.

38. ukautz/clif

Small command line interface framework.

39. urfave/cli

Simple, fast, and fun package for building command line apps in Go (formerly codegangsta/cli).

40. wlog

Simple logging interface that supports cross-platform color and concurrency.

41. wmenu

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