cider icon indicating copy to clipboard operation
cider copied to clipboard

Update README with YAML formatted examples

Open alykhank opened this issue 9 years ago • 6 comments

Add example bootstrap.yaml and defaults.yaml files to README to demonstrate new syntax.

alykhank avatar Apr 11 '15 09:04 alykhank

I'm interested in this as well. I'm curious if my bootstrap.yaml is normal or not since it's cluttered with !!python/unicode.

RogerThiede avatar Apr 16 '15 20:04 RogerThiede

@RogerThiede I noticed the same thing, and I believe that it may be due to the allow_unicode=True flag to yaml.dump() in cider/_sh.py#L213-L227. According to the PyYAML documentation this seems to be expected behaviour.

alykhank avatar Apr 17 '15 05:04 alykhank

Was Prevent odd formatting of YAML files clobbered? It's not reachable on master branch.

RogerThiede avatar Jun 24 '15 17:06 RogerThiede

Yes, turns out that didn't prevent the spammy output. Not sure what's causing this.

msanders avatar Jun 24 '15 20:06 msanders

About the !!python/unicode. To fix it, I forced the create of the .json file with the command touch ~/.cider/bootstrap.json

robsonpeixoto avatar Aug 28 '16 13:08 robsonpeixoto

Thanks @robsonpeixoto! I just tried that and Cider is now using the json file. Instructions like that in the README file would satisfy this filed bug.

RogerThiede avatar Aug 31 '16 01:08 RogerThiede