Windows command support #105
Replies: 2 comments
-
Hi there! That would be great! I don't have much Windows experience, myself, so this would be a great addition. Regarding your questions: I typically try to do one parser per command, if possible. I break that rule if the command has completely different contextual information or schema sometimes. (e.g. various I have been putting the re-used functions in I'm looking forward to reviewing the PR. Depending on the output, you might be able to reuse one of the functions in Oh, yeah, and obviously make sure to correctly fill out the The way I usually start writing a parser is to copy the Thanks again! |
Beta Was this translation helpful? Give feedback.
-
One more thing - it would probably be best to pull and merge from the |
Beta Was this translation helpful? Give feedback.
-
Hey! I and a couple of coworkers are looking at adding support to common Windows commands to jc. Before we throw up a PR, we wanted to get your feedback/preference on how to organize a couple of things:
wmic startup list brief
(which comes back as a table with columns) vswmic startup list full
(which comes back as a set of k/v records separated by new lines). Would you prefer both of these to be handled in the samewmic
parser, or separate parsers (wmic-brief
andwmic-full
, for example)?utils.py
?parserutils.py
? Somewhere else?Beta Was this translation helpful? Give feedback.
All reactions