Closed deontologician closed 10 years ago
Cool, shall we make pull requests off of whatever @MangroveCuckoo makes, etc?
Yeah, once the basic commandline is implemented and merged into master, anyone can add new commands to it any time.
Cool, are we going to work off the single .py that's in the repo now, or start fresh?
On Tue, Aug 12, 2014 at 9:58 PM, Josh Kuhn notifications@github.com wrote:
Yeah, once the basic commandline is implemented and merged into master, anyone can add new commands to it any time.
— Reply to this email directly or view it on GitHub https://github.com/deontologician/spaceship-build/issues/31#issuecomment-52004507 .
The commandline is going to go into commandline.py, so that there's less risk of collision. I put everything into the single file initially because it was just me, but if you want to split something out into another file go ahead
My opinion is very "try it and see", usually once it's done it's easier to go "yes this works" or "hmm, this isn't right", rather than speculate up front
This is the first (concrete) step towards building the CLI of our dreams as detailed in #1.
This issue is basically a simple task of using the cmd module.
In addition, we should have two basic commands implemented:
broadcast <topic> <message>
will broadcast a message on from the terminal to any attached Buses.subscribe <topic_key>
will set up the terminal so any messages matching the topic key will be printed to the console.