Typer CLI Application Reference

SkillDev tools

Helps your agent write Python command-line apps using the Typer library.

Available today. Use it from your connected AI after setup.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the Typer CLI Application Reference skill

About this skill

Use when building CLI applications with fastapi/typer, creating commands, defining CLI arguments and options, type-hint-driven parameter parsing, callbacks, context, help customization, shell completion, testing, packaging, or Typer internals. Triggers on: "typer", "typer.run", "typer.Typer", "type

What this skill tells your AI

The instructions your AI receives, as published by carapace-sh/carapace-bin in skills/typer/SKILL.md and read by ahel’s review.

Reference for building CLI applications with typer. Covers the public API, type-driven parameter declaration, and how Typer wraps Click internally.

Sub-Resources

Load the reference that matches your task. When in doubt, load multiple references.

KeywordsReference
Typer, typer.run, app, @app.command, @app.callback, add_typer, subcommand, group, one or multiple commands, TyperInfo, CommandInfo, suggest_commands, invoke_without_commandreferences/commands.md
typer.Argument, typer.Option, Annotated, default value style, Ellipsis, required, optional, envvar, prompt, confirmation_prompt, short name, metavar, show_default, help, OptionInfo, ArgumentInfo, ParamMetareferences/parameters.md
type conversion, parameter type, str, int, float, bool, Enum, Literal, choices, case_sensitive, FileText, FileTextWrite, FileBinaryRead, FileBinaryWrite, pathlib.Path, exists, min, max, clamp, count, DateTime, UUID, list, tuplereferences/parameter-types.md
typer.Context, ctx, CallbackParam, invoked_subcommand, resilient_parsing, allow_extra_args, ignore_unknown_options, find_root, find_object, ensure_object, fail, abort, exit, get_parameter_sourcereferences/context.md
help, docstring, rich, rich_markup_mode, rich_help_panel, markdown help, deprecated, epilog, printing, echo, style, secho, stderr, rich markup, suggest_commandsreferences/help-output.md
completion, shell completion, install-completion, show-completion, autocompletion, incomplete, shellingham, custom completion, completion functionreferences/completion.md
testing, pytest, CliRunner, Result, invoke, exit_code, input, isolated filesystemreferences/testing.md
package, pyproject.toml, project.scripts, wheel, python -m, main.py, publish, docs generationreferences/package.md
internals, source code, main.py, core.py, models.py, utils.py, _click, vendored click, get_command, get_group_from_info, get_command_from_info, get_callback, TyperGroup, TyperCommand, TyperOption, TyperArgument, DefaultPlaceholder, rich_utilsreferences/internals.md

Quick Guide

Cross-Project References

  • For the completion-aware pflag/cobra ecosystem used in this repo, see the cobra skill (in this repo, skills/cobra/). Typer is Click-based, not cobra-based; Typer's own internals are covered in references/internals.md.
  • For FastAPI itself, Typer's design mirrors it (dependency injection, declarative type hints) but there is no FastAPI skill here.

Note

Typer versions covered: 0.12+ through 0.27.x. Since v0.26.0 Click is vendored inside typer/_click/, so no external Click dependency exists at runtime (see references/internals.md).

Signals

GitHub stars
2k
Forks
149
Last commit
Sep 2026
Advanced
Item type
skill
Key
typer
Source
github.com/carapace-sh/carapace-bin