Skip to content

cli

Tool Inventory CLI.

callback

callback() -> None

Tool Inventory CLI.

Source code in src/tool_inventory/cli.py
@app.callback()
def callback() -> None:
    """Tool Inventory CLI."""

start

start() -> None

Start the web server.

Source code in src/tool_inventory/cli.py
@app.command()
def start() -> None:
    """Start the web server."""
    import uvicorn

    uvicorn.run("tool_inventory.main:app")