class Config
- Config
- Reference
- Object
Overview
Class that holds global variables that can be configured by the user.
Defined in:
config.crClass Method Summary
-
.conf_editor(editor : String)
Sets default editor to use for editing notes.
-
.conf_pager(pager : String)
Sets default pager to use for showing notes.
- .conf_paging(paging : Bool | Nil)
- .editor
- .pager
- .paging
-
.pull
Pulls configuration info from the a config file if it exists.
-
.reset
Resets the configuration settings.
-
.save
Saves configuration info to a json file.
-
.show
Prints configuration info to stdout.