Back
Join now
About

Popular Tags

  • typescript
  • react
  • open-source-coding-agent
  • llm
  • ui-components
  • ai-agents
  • shadcn-ui
  • tailwind
  • open-source
  • python

Top Sources

  • github.com
  • clerk.com
  • 1771technologies.com
  • 21st.dev
  • abui.io
  • activepieces.com
  • ai-sdk.dev
  • alash3al.github.io
  • alchemy.run
  • altsendme.com

Browse by Type

  • Tools
  • Code
bookmrks.io - Discovery, refined.
Website favicongithub.com
Website preview

Declarative Command Line Tool Package for Go

urfave/cli is a Go package for building command line tools with features like dynamic completion and flexible help systems.

root
Tech Stack
GitHubMkDocsGoCodecovDependabotGolangCI LintGitHub Actions
Summary

urfave/cli is a declarative, simple, fast, and fun package designed for building command line tools in Go. This library provides a range of features that enhance the development of command line applications.

Key features:

  • Commands and Subcommands - Supports alias and prefix match functionality.
  • Flexible Help System - Offers a permissive help system for user guidance.
  • Dynamic Shell Completion - Compatible with bash, zsh, fish, and powershell.
  • No External Dependencies - Only requires the Go standard library.
  • Input Flags - Supports simple types, slices, time, and duration.
  • Compound Short Flag Support - Allows for shortened flag usage.
  • Documentation Generation - Generates documentation in man and Markdown formats.
  • Input Lookup - Can retrieve input from environment variables and structured file formats.

This package is particularly useful for developers looking to create robust command line interfaces with minimal overhead.

Comments
No comments yet. Sign in to add the first comment!
Tags
  • cli
    1
  • cli-toolkit
    1
  • command-line
    1
  • go
    1
  • golang-library
    1
  • json
    1
  • toml
    1
  • yaml
    1