Add CLI arguments parsing + --start-in-tray

- Loading a QML file in place of src/gui/UI.qml is now possible via
  -l / --load-qml instead of taking the first positional argument

- New option to start application in tray without showing a window

- --help and --version
This commit is contained in:
miruka
2021-01-09 04:46:56 -04:00
parent 50d4aae188
commit fda5bc0039
5 changed files with 68 additions and 3 deletions

View File

@@ -1 +1,2 @@
singleton ModelStore 0.1 ModelStore.qml
singleton ArgumentParser 0.1 ArgumentParser.qml