IBM / pyflowgraph

Flow graphs for Python
Apache License 2.0
25 stars 8 forks source link

Simple CLI #8

Closed epatters closed 5 years ago

epatters commented 5 years ago

The simplest possible command-line interface: converts a Python script to raw flow graph in GraphML format.

The more important addition is the record_code and record_script functions, which tie together all the components in an easy-to-use form, suitable for consumption by other libraries and tools.

ioana-blue commented 5 years ago

I skimmed the code, looks nice. I'm thinking it would be nice to add a little documentation on how to use the CLI with one example. Up to you where you put that. Also not clear right now if the script provided to the cli is the basic version where the running command is python script. If that's the case, I think I got it.