{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/2"}],"enrichment":{"capability":"Decli wraps argparse to let you define command-line interfaces declaratively as Python dictionaries, supporting arguments, subcommands, and argument groups without repeated boilerplate.","skillfed_tags":["cli-builder","argparse-wrapper","declarative-config"],"use_cases":["Build a multi-command CLI tool (like git or docker) by defining subcommands and their handlers in a single data structure","Rapidly prototype a command-line interface for a Python application without writing repetitive argparse setup code","Organize related arguments into logical groups for clearer help output and better code readability","Create a CLI where each subcommand maps to a specific function, keeping interface definition separate from business logic"],"what_it_does":"Decli is a thin declarative wrapper around Python's argparse library. Instead of writing imperative parser setup code with repeated add_argument() calls, you define your CLI structure as a nested dictionary\u2014specifying prog name, description, arguments, subcommands, and argument groups\u2014then pass it to the cli() function to get a ready-to-use parser. It accepts all standard argparse argument options (action, nargs, type, choices, help, metavar, dest, etc.) and adds support for argument grouping and a func parameter on subcommands to map commands to handler functions.\n\nThe package is designed for developers building larger applications with many arguments and subcommands who want their CLI definition to be more readable and maintainable than traditional argparse boilerplate. It has no external runtime dependencies and works with Python 3.9 through 3.13.","worth_installing":"Yes, if you are building a CLI-heavy application and prefer declarative, dictionary-based configuration over imperative argparse calls. The zero-dependency install and permissive license make it low-risk. However, note that maintenance is aging (last release 439 days ago), so do not expect active development or rapid fixes for edge cases."},"id":"decli","links":{"html":"https://skillfed.io/packages/decli","md":"https://skillfed.io/packages/decli.md","pypi":"https://pypi.org/project/decli/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-06-01","license_spdx":null,"license_treatment":"permissive","name":"decli","python_support":"supports_current","summary":"Minimal, easy-to-use, declarative cli tool"},"popularity":{"monthly_downloads":3907358,"position":2456,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.6.3"}
