Subcommands

Subcommands permit the user to modify theme in mass.

add-event

usage: naivecalendar add-event [-h] [-o] [-n|-d EVENT_NAME] [-v NEW_VALUE]

Add a new event entry in ~/.config/naivecalendar/global/events.cfg

optional arguments:
-h, --help

show this help message and exit

-n EVENT_NAME, --new EVENT_NAME

name of the new event

-v NEW_VALUE, --value NEW_VALUE

value of the new event (see any config file for format)

-o, --override

override value if event already exist

-d EVENT_NAME, --delete EVENT_NAME

delete event


update

usage: naivecalendar update [-h] [-s] [-L] [-p PARAMETER] [-v NEW_VALUE] [-f REGEX] [-e USER_EDITOR]

Give a new value to a calendar parameter for all themes in ~/.config/naivecalendar/themes/

/!\ Saving your themes before use is a good practice

optional arguments:
-h, --help

show this help message and exit

-s, --simulate

don’t change files and print to stdout

-L, --list-parameters

show all parameters names

-T, --list-themes

show all user themes

-a, --all-parameters

open an editor to giva a value to all parameters

-e, --editor

force editor with -a flag

-p PARAMETER, --parameter PARAMETER

parameter to change in all config files

-v NEW_VALUE, --value

NEW_VALUE new value to set

-f REGEX, --filter REGEX

if set, only edit themes with names that match the extended-regexp (grep -E)