Skip to content

Commit

Permalink
feat(cli): print usage
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Oct 31, 2022
1 parent 223138b commit f91541c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cli.py
Original file line number Diff line number Diff line change
@@ -16,7 +16,14 @@
from oomox_plugin import render_base16_template, convert_oomox_to_base16 # noqa


def print_help():
print(f"Usage: {sys.argv[0]} BASE16_TEMPLATE_PATH THEMIX_THEME_PATH")


def main():
if len(sys.argv) < 2:
print_help()
sys.exit(1)
mustache_path = sys.argv[1]
themix_theme_path = sys.argv[2]
result = []

0 comments on commit f91541c

Please sign in to comment.