Skip to content

Commit

Permalink
doc(multi-export-cli): mention it in the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Jun 19, 2024
1 parent 3209c00 commit 9720e11
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,23 @@ If your prefer CLI interface, refer to `change_color.sh` scripts inside `./plugi



#### Multi-Export CLI


```sh
themix-multi-export --help
```

or

```sh
./multi_export_cli.sh --help
```

Example multi-export config file could be found in `./export_config_examples` directory of this git repository.



#### Spotify:

Spotify theme can be also exported from GUI, but if you prefer commandline interface:
Expand Down
5 changes: 4 additions & 1 deletion oomox_gui/multi_export_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ def print_help() -> None:


def main() -> None:
if len(sys.argv) < (NUM_ARGS + 1):
if (
((len(sys.argv) >= (1 + 1)) and sys.argv[1] in {"-h", "--help"})
or (len(sys.argv) < (NUM_ARGS + 1))
):
print_help()
sys.exit(1)

Expand Down

0 comments on commit 9720e11

Please sign in to comment.