Skip to content
/ cli Public

A simple, fast, and fun package for building command line apps in Go

License

Notifications You must be signed in to change notification settings

urfave/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

809e4fb · Mar 24, 2025
Feb 8, 2025
Nov 24, 2024
Jan 13, 2025
Oct 24, 2024
Nov 2, 2024
Mar 19, 2025
Oct 24, 2024
Mar 18, 2023
May 7, 2022
Jun 12, 2023
Oct 24, 2024
Jul 5, 2024
Nov 2, 2024
Oct 20, 2024
Feb 18, 2024
May 1, 2024
Oct 21, 2024
Mar 22, 2025
Mar 23, 2025
Mar 22, 2025
Mar 13, 2025
Mar 23, 2025
Nov 24, 2024
Mar 23, 2025
Mar 10, 2025
Oct 21, 2024
Oct 21, 2024
Mar 16, 2025
Oct 23, 2024
Oct 23, 2024
Mar 16, 2025
Oct 23, 2024
Mar 18, 2025
Mar 19, 2025
Apr 30, 2024
Mar 16, 2025
Apr 30, 2024
Oct 20, 2024
Nov 8, 2024
Mar 16, 2025
Apr 30, 2024
May 1, 2024
Oct 23, 2024
Mar 22, 2025
Mar 22, 2025
Oct 21, 2024
Apr 30, 2024
May 1, 2024
May 1, 2024
Mar 19, 2025
Mar 18, 2025
Jun 28, 2023
May 1, 2024
Mar 17, 2025
Oct 30, 2024
Feb 8, 2025
Feb 8, 2025
Mar 19, 2025
Mar 23, 2025
Mar 23, 2025
Dec 26, 2023
Jan 13, 2025
Jan 13, 2025
Oct 28, 2017
Dec 26, 2023
Apr 30, 2024
Apr 30, 2024
Apr 29, 2024
Nov 1, 2024
Jan 29, 2025
Jan 29, 2025

Repository files navigation

Welcome to urfave/cli

Go Reference Go Report Card codecov Tests status

urfave/cli is a declarative, simple, fast, and fun package for building command line tools in Go featuring:

  • commands and subcommands with alias and prefix match support
  • flexible and permissive help system
  • dynamic shell completion for bash, zsh, fish, and powershell
  • no dependencies except Go standard library
  • input flags for simple types, slices of simple types, time, duration, and others
  • compound short flag support (-a -b -c can be shortened to -abc)
  • documentation generation in man and Markdown (supported via the urfave/cli-docs module)
  • input lookup from:
    • environment variables
    • plain text files
    • structured file formats (supported via the urfave/cli-altsrc module)

Documentation

See the hosted documentation website at https://cli.urfave.org. Contents of this website are built from the ./docs directory.

Support

Check the Q&A discussions. If you don't find answer to your question, create a new discussion.

If you found a bug or have a feature request, create a new issue.

Please keep in mind that this project is run by unpaid volunteers.

License

See LICENSE.