diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-23 14:11:05 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-23 14:11:05 +1000 |
| commit | dcd3cdc8642239700bddc07846b3743013a5daec (patch) | |
| tree | 1a77b027f09f7a9236c6e4538fe7072e59f3f401 /src/caelestia/parser.py | |
| parent | emojis: add missing emojis (diff) | |
| download | caelestia-cli-dcd3cdc8642239700bddc07846b3743013a5daec.tar.gz caelestia-cli-dcd3cdc8642239700bddc07846b3743013a5daec.tar.bz2 caelestia-cli-dcd3cdc8642239700bddc07846b3743013a5daec.zip | |
emoji: add fetch option
Diffstat (limited to 'src/caelestia/parser.py')
| -rw-r--r-- | src/caelestia/parser.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/caelestia/parser.py b/src/caelestia/parser.py index 37ce591..ad0fd99 100644 --- a/src/caelestia/parser.py +++ b/src/caelestia/parser.py @@ -95,8 +95,10 @@ def parse_args() -> (argparse.ArgumentParser, argparse.Namespace): clipboard_parser.add_argument("-d", "--delete", action="store_true", help="delete from clipboard history") # Create parser for emoji-picker opts - emoji_parser = command_parser.add_parser("emoji-picker", help="toggle the emoji picker") + emoji_parser = command_parser.add_parser("emoji", help="emoji/glyph utilities") emoji_parser.set_defaults(cls=emoji.Command) + emoji_parser.add_argument("-p", "--picker", action="store_true", help="open the emoji/glyph picker") + emoji_parser.add_argument("-f", "--fetch", action="store_true", help="fetch emoji/glyph data from remote") # Create parser for wallpaper opts wallpaper_parser = command_parser.add_parser("wallpaper", help="manage the wallpaper") |