Skip to content

Variable arguments support #1031

@kharandziuk

Description

@kharandziuk

With something like just I can write

# manage: Executes manage.py command.
manage +args:
    @docker compose run --rm django python ./manage.py {{args}}

Then I will be able to execute the command like this:

just manage makemigrations app

The closest way I found to write it invoke is something like:

inv manage -c 'makemigrations app'

is it true? is it possible to add this feature?

I need it mostly for django. But I can imagine a lot of similar tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions