Skip to content

Bug: Unable to pass config to CLI after command #604

Description

@colinrsmall

Description

Using advanced alchemy/alembic/litestar for the first time (porting a project from Django). I've been unable to use the alchemy CLI, with all commands erroring out Missing option '--config' even if the config flag is passed to a command.

It appears that calling the config argument before the command works, but this would make the documentation inaccurate if intentional.

Steps to reproduce (in a project using uv)

uv run alchemy check --config <path to alchemy config>`

➜  litestar-fullstack git:(main) alchemy check --config <path to config>

 Usage: alchemy [OPTIONS] COMMAND [ARGS]...

 Try 'alchemy --help' for help
╭─ Error──────────────────────────────────────────────────────────────╮
│ Missing option '--config'.                                          │                                                                                         
╰─────────────────────────────────────────────────────────────────────╯

Package Version

advanced-alchemy 1.8.0
zsh 5.9 (arm64-apple-darwin25.0)
MacOS 26.1

Platform

  • Linux
  • Mac
  • Windows
  • Other (Please specify in the description above)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions