Adding Commands
Adding Commands
Extension Guide
Bawa command baru dari Typer surface menuju typed core behavior dan tests.
Command
app/cli/Category
Developer Guide
Quick Command
CLI -> model -> resolver -> core -> resultCommand Package Shape Pisahkan Typer declaration, options/arguments, request model,
resolver, dan core delegation sesuai pattern command terdekat. Hindari domain logic dalam CLI callback. ## Register the Command Daftarkan command atau group pada active CLI tree dan pastikan help text, aliases, global context, serta exit mapping konsisten. ## Test the Complete Boundary
Before You Begin
- ParsingRequired
Valid dan invalid options diproses benar.
- ResolutionRequired
CLI values mengalahkan configuration dan defaults.
- DelegationRequired
Core menerima typed request yang benar.
- ErrorsRequired
Failures menghasilkan actionable output dan expected exit.
- DocsRequired
Command reference dan configuration diperbarui.