jamf / Notifier

Swift project which can post macOS alert or banner notifications on 10.15+ clients
Apache License 2.0
119 stars 21 forks source link

Move to ArgumentParser #1

Closed macmule closed 1 year ago

macmule commented 4 years ago

All is working, but now there is a standard parser to move to:

https://swift.org/blog/argument-parser/

macmule commented 4 years ago

Notifier - Move to ArgumentParser

macmule commented 2 years ago

@davidnorris78 loving the work in https://github.com/dataJAR/Notifier/tree/ArgumentParser-migration

Can you amend to remove the output when a command is sent?

The following output, for example:

argParser(_message: Optional("message"), _messageaction: nil, _type: Optional("banner"), _sound: nil, _subtitle: nil, _title: nil, _messagebutton: nil, _messagebuttonaction: nil, _remove: nil, _verbose: nil)

macmule commented 2 years ago

Can --verbose be amended to not need a value passed, like --help?