Green-Software-Foundation / if-plugins

Impact Framework models owned and maintained by the GSF
MIT License
24 stars 17 forks source link

Make yaml the default output if an output file is specified in the CLI #80

Closed heaversm closed 6 months ago

heaversm commented 6 months ago

Right now, unless you specify

outputs:
    - yaml

in your manifest file, when you run the CLI, e.g.

ie --manifest manifest-input/tests/mock-observations.yml --output manifest-output/tests/mock-observations-out

You will get the output in the terminal, not a file.

For example in the documentation here, does not work to actually generate a file. I would either update that documentation to leave out the output file, or add in the output format in sample manifest.

jmcook1186 commented 6 months ago

Thanks - agree this isn't ideal. We are going to update the way the outputs work soon to something much more user friendly, so for now we'll just update the documentation.

jmcook1186 commented 6 months ago

Docs updated via PR https://github.com/Green-Software-Foundation/if-plugins/pull/82