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

Needs examples #8

Open
kerphi opened this issue Oct 14, 2015 · 2 comments
Open

Needs examples #8

kerphi opened this issue Oct 14, 2015 · 2 comments

Comments

@kerphi
Copy link

kerphi commented Oct 14, 2015

Without example it's complicated to understand how to use for example the "set" command.
I tried:

yaml set analogist.image myvalue ./docker-compose.yml

without any success

@jonhiggs
Copy link

me too.

@pboling
Copy link

pboling commented Apr 14, 2016

Also 👍
Trying to figure out how to create a YAML file from the command line. If I use yaml get before creating the file it is stuck in an infinite loop. If I use yaml set before creating the file it also appears to be in an infinite loop.

UPDATE: even if I touch the file first so it exists the code still hangs trying to read the file.

touch ~/.example.yml
yaml get -f ~/.example.yml
^C/Users/peterboling/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/psych.rb:370:in `read': Interrupt
    from /Users/peterboling/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/psych.rb:370:in `parse'
    from /Users/peterboling/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/psych.rb:370:in `parse_stream'
    from /Users/peterboling/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/psych.rb:318:in `parse'
    from /Users/peterboling/.rvm/rubies/ruby-2.2.3/lib/ruby/2.2.0/psych.rb:245:in `load'
    from /Users/peterboling/.rvm/gems/ruby-2.2.3/gems/yaml_command-0.1.1/lib/yaml_command/base.rb:115:in `data'
    from /Users/peterboling/.rvm/gems/ruby-2.2.3/gems/yaml_command-0.1.1/lib/yaml_command/get.rb:7:in `call'
    from /Users/peterboling/.rvm/gems/ruby-2.2.3/gems/executable-1.2.1/lib/executable/domain.rb:100:in `execute'
    from /Users/peterboling/.rvm/gems/ruby-2.2.3/gems/yaml_command-0.1.1/bin/yaml:4:in `<top (required)>'

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

3 participants