cheat icon indicating copy to clipboard operation
cheat copied to clipboard

Incomplete conf.yml description

Open EmilyGraceSeville7cf opened this issue 4 years ago • 0 comments

A description of the problem

There is no info about:

  • default values of props
  • required props
# conf.yml:
# ...
cheatpaths:
  - name: community                   # a name for the cheatpath
    path: ~/documents/cheat/community # the path's location on the filesystem
    tags: [ community ]               # these tags will be applied to all sheets on the path
    readonly: true                    # if true, `cheat` will not create new cheatsheets here

  - name: personal
    path: ~/documents/cheat/personal  # this is a separate directory and repository than above
    tags: [ personal ]
    readonly: false                   # new sheets may be written here
# ...

I assume that:

  • required props are: name, path
  • readonly default is false

Am I right?

EmilyGraceSeville7cf avatar Mar 15 '22 23:03 EmilyGraceSeville7cf

Thanks for reporting this, @EmilySeville7cfg. There was indeed important information missing here.

I've improved the configuration documentation in the 4.3.2 release: https://github.com/cheat/cheat/releases/tag/4.3.2

I'm thus going to close this as resolved.

chrisallenlane avatar Aug 26 '22 18:08 chrisallenlane