We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The clconf CLI application cannot merge different types.
clconf
number.yml
number: 100
quoted.yml
number: "500"
Now run clconf on these two files:
clconf --yaml number.yml --yaml quoted.yml
Error: cannot append two different types (int, string)
Don't do that!
The text was updated successfully, but these errors were encountered:
This was resolved by #22, and released as v2.0.16:
#!/bin/bash set -e readonly CLCONF="$(mktemp)" >&2 echo -e "Downloading clconf..." if curl \ --output "${CLCONF}" \ --location \ --silent \ https://github.com/pastdev/clconf/releases/download/v2.0.16/clconf-linux; then trap "rm '${CLCONF}'" EXIT chmod 700 "${CLCONF}" >&2 echo -e "$("${CLCONF}" version)\n\n" else echo "unable to download clconf" fi "${CLCONF}" \ --ignore-env \ --yaml <(echo -e "---\nnumber: \"500\"") \ --yaml <(echo -e "---\nnumber: 500") \ getv /
Gives:
ltheisen@MM233009-PC:/tmp/ASIASETL-3394$ ./test.sh Downloading clconf... Version: v2.0.16 number: 500
Sorry, something went wrong.
No branches or pull requests
Description
The
clconf
CLI application cannot merge different types.How to repeat
number.yml
:quoted.yml
:Now run
clconf
on these two files:Expected Result
Actual Result
Workarounds
Don't do that!
The text was updated successfully, but these errors were encountered: