Building a command line tool needs careful design. This guide shows you how to create a CLI app that is easy to use. It covers argument parsing, configuration, and error handling. You will learn to use clap for commands and indicatif for progress bars. The rules help you make a tool that works well in scripts and looks professional.
Anyone writing a terminal application in Rust can follow these patterns. The advice includes how to show errors on stderr and data on stdout. It also explains how to handle Ctrl+C and return correct exit codes. These steps make your tool reliable and friendly.
Global
mkdir -p ~/.claude/skills/domain-cliProject
mkdir -p .claude/skills/domain-cliSource Repository
Lark Sharedlarksuite/cli
Manage Feishu resources from terminal with user and bot authentication and permission handling
Tzstxixu-me/skills
Create extract and manage tzst archives with safe defaults and scripting support
Xdropxixu-me/skills
Upload and download files securely from your terminal with Xdrop CLI
Runcomfy Cliagentspace-so/runcomfy-agent-skills
One binary one login runs hundreds of AI models from your command line
Runcomfy Cliruncomfy-com/skills
Control hundreds of AI models from your command line with one simple tool
Runcomfy Clidoany-ai/skills
One binary, one auth, hundreds of AI models from your terminal
Hyperframes Cliheygen-com/hyperframes
Scaffold, lint, inspect, preview, and render video compositions from your terminal
Sentry Clisentry/dev
Manage your Sentry projects and issues directly from the terminal