Skip to content

Installing shell completion for a just manage script fails. #190

Open
@bckohan

Description

@bckohan
[script("python")]
manage *COMMAND:
    import os
    import sys
    import shlex
    from pathlib import Path
    from django.core import management
    management.execute_from_command_line(sys.argv + shlex.split('{{ COMMAND }}'))

This should work:

just manage shellcompletion install '--manage-script="just manage"'

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions