Skip to content

Pass context from a parent command to its subcommand #39

Description

@kostiantxn

Note

Right now it is impossible to pass a context from one command to another:

# candies/cli/parsers/parser.py

class Invocation:

    def __call__(self, command, context):
        if context is not None:
            raise NotImplementedError
        ...

An implementation for a case when context is not None should be added.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions