Skip to content

Commit

Permalink
feat(multi_export_cli): add examples to --help
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Sep 16, 2024
1 parent 4368d3c commit da2edf2
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion oomox_gui/multi_export_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,30 @@ def export_callback(_me: MultiExportDialog) -> None:


def main() -> None:
my_name = Path(sys.argv[0]).name
parser = argparse.ArgumentParser(
description="Makefile shellcheck",
description="Themix Multi-Export CLI",
formatter_class=argparse.RawDescriptionHelpFormatter,
epilog=f"""
------------------------
When using Multi-Export from GUI your multi-export layout would be automatically \
saved to `~/.config/oomox/export_config/multi_export_*.json` files.
------------------------
Examples:
Export `oodwaita` multi-export config using `Gigavolt` colortheme:
$ {my_name} ./export_config_examples/multi_export_oodwaita.json ./colors/Featured/Gigavolt
Strip multi-export config from the extra metadata, to either share it \
or use in the scripts etc:
$ {my_name} --strip ~/.config/oomox/export_config/multi_export_default.json
""",
)
parser.add_argument(
"export_layout_path",
Expand Down

0 comments on commit da2edf2

Please sign in to comment.