Skip to content
New issue

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

example does not output valid yaml. #3

Open
Aricg opened this issue Jun 29, 2018 · 0 comments
Open

example does not output valid yaml. #3

Aricg opened this issue Jun 29, 2018 · 0 comments

Comments

@Aricg
Copy link

Aricg commented Jun 29, 2018

Code:

    yaml_cli \
    -n andy:test:number 5 \
    -b andy:test:bolean_value true \
    -s andy:test:a_string 'Text with whitespaces' \
    -l andy:test:basic_list_support item1 and2 and3 \
    --null andy:test:null_value

Output:

andy:
  test:
    a_string: Text with whitespaces
    basic_list_support:
    - item1
    - and2
    - and3
    bolean_value: true
    null_value: null
    number: 5

The list items need to be further indented to be valid yaml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant