30 open-source projects similar to cosiner/flag, ranked by how many features they have in common. Compare stars, activity and what each one does to find the best Flag alternative.
A simple logging interface that supports cross-platform color and concurrency.
Automatically sets up command line flags based on struct fields and tags.
A Go library for building command line applications.
Termui is a Go terminal user interface library used for building interactive dashboards and visual layouts within a command-line environment. It functions as a TUI layout engine, an interactive CLI framework, and a terminal data visualization toolkit. The library provides a set of specialized widgets for rendering charts, plots, gauges, and tables using character-based graphics. It includes a grid-based system for arranging interface elements using relative coordinates and proportional sizing to create structured displays. The toolkit covers a broad range of capabilities including data visua
Idiomatic Go input parsing with subcommands, positional values, and flags at any position. No required project or package layout and no external dependencies.
CONTRIBUTIONS ONLY: A Go (golang) command line and flag parser
ai-shell is an AI-powered terminal assistant and natural language interface for the command line. It functions as a shell command generator that translates plain text instructions into executable machine-readable shell syntax using large language models. The tool provides a conversational interface for technical support and shell command discovery, allowing users to find correct flags and arguments through multi-turn dialogues. It streamlines terminal workflows by converting natural language descriptions into executable scripts accompanied by human-readable explanations. The system includes
CLI for SQLite Databases with auto-completion and syntax highlighting
pgcli is an interactive command-line interface and database management tool for PostgreSQL. It functions as an interactive SQL shell and query editor that allows users to inspect schemas, manage connections, and run queries against PostgreSQL data sources. The tool is distinguished by its real-time, schema-aware autocompletion for keywords, tables, and columns, as well as dynamic SQL syntax highlighting. It provides safety mechanisms through transaction-aware guardrails that warn against or block destructive statements when no active transaction is detected. Broad capabilities include secure
A simple command line notebook
This is an ANSI terminal color library and console output manager used for applying colors and text attributes to command line interface output. It functions as a terminal text styler and RGB color formatter, generating the escape codes necessary for foreground and background styling. The project supports 24-bit high-color RGB mapping for precise color rendering in compatible terminal emulators. It enables the creation of colorized text fragments that can be embedded into larger blocks of text or applied as global styles that persist across subsequent output streams. The library covers broad
Go package to make lightweight ASCII line graph ╭┈╯ in command line apps with no other dependencies.
hiboot is a high performance web and cli application framework with dependency injection support
Argparse for golang. Just because flag sucks
Argv is a library for Go to split command line string into arguments array.
Fully featured Go (golang) command line option parser with built-in auto-completion support.
A command-line client for SQL Server with auto-completion and syntax highlighting
mycli is a MySQL command line client, database administration tool, and SQL query editor. It functions as a terminal interface for executing queries and managing MySQL connections, incorporating an integrated assistant that uses large language models to generate and analyze SQL statements based on the current database schema. The tool provides specialized query authoring capabilities, including context-sensitive syntax suggestions, fuzzy-matching identifier completion for tables and columns, and the ability to handover query buffers to external system text editors. It distinguishes its connec
Simple shell script to use OpenAI's ChatGPT and DALL-E from the terminal. No Python or JS required. Formerly https://gptshell.cc
An easy to use menu structure for cli applications that prompts users to make choices.
🎨 Terminal color rendering library, support 8/16 colors, 256 colors, RGB color rendering output, support Print/Sprintf methods, compatible with Windows. GO CLI 控制台颜色渲染工具库,支持16色,256色,RGB色彩渲染输出,使用类似于 Print/Sprintf,兼容并支持 Windows 环境的色彩渲染
Frictionless way of managing project-specific commands
POSIX-compliant command-line UI (CLI) parser and Hierarchical-configuration operations
A versatile library for building CLI applications in Go