feat: allow extensions to add commands (#1017)

* feat: allow extensions to add commands

* refactor: fix tests

* refactor: more test fix

* refactor: more test fixes

* refactor: more linter fixes
This commit is contained in:
Juro Oravec 2025-03-16 12:03:16 +01:00 committed by GitHub
parent 3a139127cd
commit d3d2d0ab08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 2320 additions and 397 deletions

View file

@ -0,0 +1,11 @@
from django_components.commands.create import CreateCommand
# TODO_REMOVE_IN_V1 - Superseded by `components create`
class StartComponentCommand(CreateCommand):
"""
**Deprecated**. Use [`components create`](../commands#components-create) instead.
"""
name = "startcomponent"
help = "Deprecated. Use `components create` instead."