Henry Schreiner

Results 2521 comments of Henry Schreiner

Just pretend a Command is a function. ```python from plumbum.cmd import ls print(ls('-l', '*')) ``` Though, * will not be expanded so that will probably give you an error unless...

I didn't write that code; I'm not sure why it's needed. Have you tried removing it and seeing if the tests all still work? If something starts failing, at least...

This usually means that the error channel is not accessible, usually because it could not be redirected via Bash syntax on the remote machine. I've not connected to a Windows...

I've never really looked into ParamikoMachine, I plan to at some point, but for now, I don't know much about it. Can you see where it hangs by using Control...

Then you would have to define groups at the top, and then pass that to each switch, etc. instead of group="MyGroup". I don't think this is much better, and makes...

Wow, not what I was thinking. I rather like that. Name, description, and color should be all caps to match cli (indicates that the name is special). Other than that,...

Also, doesn't directly show what is done with Meta-switches, etc, but that could be added trivially, I think. I think we should support the old syntax for groups for a...

Could the name just come from the class name? That's one feature of using a class. Is there a reason to have a group with spaces in the name?

Also, the help description should be like `cli.Application`, and support using the class doc-string for description too (I added that to your example).

And, since now the name and description are defined in a single place, there's no reason to have a separate `COLOR` property at all, just set the name/description with a...