class Config

Overview

Class that holds global variables that can be configured by the user.

Defined in:

config.cr

Class Method Summary

Class Method Detail

def self.conf_editor(editor : String) #

Sets default editor to use for editing notes.


[View source]
def self.conf_pager(pager : String) #

Sets default pager to use for showing notes.


[View source]
def self.conf_paging(paging : Bool | Nil) #

[View source]
def self.editor #

[View source]
def self.pager #

[View source]
def self.paging #

[View source]
def self.pull #

Pulls configuration info from the a config file if it exists.


[View source]
def self.reset #

Resets the configuration settings.


[View source]
def self.save #

Saves configuration info to a json file.


[View source]
def self.show #

Prints configuration info to stdout.


[View source]