litestar-cli

- Ensure app autodiscovery works (canonical module layout) or define explicit app import path.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "litestar-cli" with this command: npx skills add alti3/litestar-skills/alti3-litestar-skills-litestar-cli

CLI

Execution Workflow

  • Ensure app autodiscovery works (canonical module layout) or define explicit app import path.

  • Standardize litestar commands in project scripts and team docs.

  • Separate local development commands from production runtime commands.

  • Extend CLI only when command reuse materially improves team workflows.

Implementation Rules

  • Keep one canonical entrypoint for commands and deployment.

  • Avoid hidden env assumptions; make required env vars explicit.

  • Pin command flags in scripts to avoid accidental behavior drift.

  • Prefer explicit app targets in CI/CD for reproducibility.

Example Pattern

Autodiscovery mode

litestar run

Explicit app target mode

litestar --app path.to.app:app run

Validation Checklist

  • Confirm litestar run and other core commands resolve the correct app.

  • Confirm schema-related CLI commands run in CI without manual steps.

  • Confirm command aliases/scripts behave consistently across environments.

Cross-Skill Handoffs

  • Use litestar-app-setup when autodiscovery or app factory layout is broken.

  • Use litestar-openapi for schema generation quality, not just CLI invocation.

Litestar References

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

litestar-caching

No summary provided by upstream source.

Repository SourceNeeds Review
General

litestar-logging

No summary provided by upstream source.

Repository SourceNeeds Review
General

litestar-requests

No summary provided by upstream source.

Repository SourceNeeds Review
General

litestar-databases

No summary provided by upstream source.

Repository SourceNeeds Review