keewis / blackdoc

run black on documentation code snippets
https://blackdoc.readthedocs.io
MIT License
47 stars 4 forks source link

command-line interface #1

Closed keewis closed 4 years ago

keewis commented 4 years ago

A tool is almost always used via its command-line interface so to be useful we need one, too. The one introduced here mostly mimics / copies the interface of black.

It implements two different modes:

keewis commented 4 years ago

@max-sixty: the CLI is finished, it should now be closer to black. Would you like to test it before the merge?