OrderedSet86 / gtnh-flow

Factory Optimization Flowcharts for Gregtech: New Horizons
MIT License
84 stars 24 forks source link

Add non-interactive mode. Support basic parametrization through CLI. #13

Closed Sopel97 closed 1 year ago

Sopel97 commented 1 year ago

I was pretty annoyed with the lack of non-interactive mode, since it limits interoperability and configurability. This PR adds a way to run the program the way god intended. It also adds simple switches (override view on completion, config path) which are useful for varied projects and batch jobs. The interactive behaviour is preserved; running the program without any arguments or with --interactive will enter the interactive mode.

In the future I want to add an option to support passing directories, which would process all projects within the directory (recursively).

OrderedSet86 commented 1 year ago

Sure, looks great to me! Thanks for the PR.