Skip to content

Conversation

dhylands
Copy link
Contributor

This is a slightly stripped down version of Python's cmd module.

It doesn't support doc-string help (since micropython removes those)
It doesn't support completions yet

@pfalcon
Copy link
Contributor

pfalcon commented Aug 10, 2014

So, is this really written from scratch or edited from CPy's cmd.py? For the latter case, I tried to start with committing CPy module verbatim, and then apply changes in the next commit - so it was easy to see which exact changes were applied wrt to CPython version. I'd appreciate if you could do that, as if I try to do it, it will be hard to preserve your authorship.

And regarding setup.py, that's intended to be auto-generated from metadata.txt using make_metadata.py script in the root of repo.

@dhylands
Copy link
Contributor Author

OK - this was started with CPy's cmd.py. I'm happy to rework the PR to be the original CPy version and then do a changeset from there.

I'll create a metadata.txt file and generate setup.py from it.

@dhylands
Copy link
Contributor Author

I added the cmd.py from 3.4 (or 3.3 - they're both the same) and then did a separate commit for the changes.

@pfalcon
Copy link
Contributor

pfalcon commented Aug 12, 2014

Merged with minor typo fixes.

@pfalcon
Copy link
Contributor

pfalcon commented Aug 12, 2014

Also pushed on PyPI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants