Buckets:

download
raw
752 Bytes
from __future__ import annotations
import typer
from greatapi.commands.createsuperuser import create_superuser_interactive # Import the new command
from greatapi.commands.runserver import server_initialization
from greatapi.commands.startapp import application_initialization
from greatapi.commands.startproject import project_initialization
app = typer.Typer()
@app.command()
def runserver() -> None:
server_initialization()
@app.command()
def startproject(project_name: str) -> None:
project_initialization(project_name)
@app.command()
def startapp(app_name: str) -> None:
application_initialization(app_name)
@app.command() # Add the createsuperuser command
def createsuperuser() -> None:
create_superuser_interactive()

Xet Storage Details

Size:
752 Bytes
·
Xet hash:
2f4e2c569271cdc2f6d764e8019abc19cddc763a65f085b238d93269588e6b88

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.