Skip to content

yq generate config.json with the --help content and stop #76

@mikxo

Description

@mikxo

While trying to run the script .run-seedbox.sh on a newly installed debian system, all prerequisites done the script run-seedbox.sh stopped at the comment
"[./run-seedbox.sh] ***** Checking environment variables and files... ***** ********** Check of variables commands done ************"

and was doing nothing more. I checked the line where it stopped and try to run the problematic command :
yq eval -o json config.yaml > config.json

and the .json generated is the content of the yq --help and jq --help.

In that help documentation I do not find the explanation for "-o" option. Is it because I'm using the newest version of yq and that option has been replaced ? To be able to manually set the right option, what was the -o for ?

Thanks and great job btw putting all this together !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions