modify argument names, update README with examples and demo

This commit is contained in:
2024-08-11 04:13:39 -07:00
parent e2f1fd30b6
commit 4ab6c4f100
5 changed files with 121 additions and 27 deletions

View File

@@ -35,7 +35,7 @@ def add_update_subparser(subparsers):
parser.add_argument(
'-a', '--apps',
required = False,
default = "*",
default = '*',
type = lambda s: s.split(',') if s != '*' else s,
help = 'Application target for theme. App must be present in the registry. ' \
+ 'Use "*" to apply to all registered apps'
@@ -56,16 +56,17 @@ def add_config_subparser(subparsers):
description='Set config files for registered applications.'
)
parser.add_argument(
'-p', '--palette',
'-s', '--style',
required = False,
default = "any",
help = 'Palette name, must match a folder in themes/'
default = 'any',
help = 'Style indicator (often a color palette) capturing thematic details in '
'a config file'
)
parser.add_argument(
'-s', '--scheme',
'-m', '--mode',
required = False,
default = "any",
help = 'Preferred lightness scheme, either "light" or "dark".'
help = 'Preferred lightness mode/scheme, either "light," "dark," "any," or "none."'
)
parser.add_argument(
'-a', '--apps',