Closed Jaymon closed 3 months ago
If I just do something like this:
class Default(Command): def handle(self, **kwargs): self.output.out(kwargs["foo"]) self.output.out(type(kwargs["foo"]))
And then run it:
$ python <SCRIPT-PATH> --foo=True True <class 'str'>
There should be a way to normalize all the flags in kwargs to their actual values
kwargs
If I just do something like this:
And then run it:
There should be a way to normalize all the flags in
kwargs
to their actual values