feat: --gitpush
This commit is contained in:
parent
a88e284a04
commit
7e9a57ebb1
1 changed files with 7 additions and 3 deletions
|
|
@ -25,6 +25,7 @@ Currently, WatchYap can perform the following actions:
|
|||
- `--save`,
|
||||
- `--inkscape`,
|
||||
- `--git`,
|
||||
- `--gitpush`,
|
||||
- `--log`,
|
||||
- `--dbus` (disabled if the `sdbus` python module is not installed),
|
||||
- `--zenity` (disabled if the `zenity` command is not installed, or if no graphical display is available),
|
||||
|
|
@ -40,7 +41,7 @@ For instance, with a target file named `test.svg`, a snapshot will look like `te
|
|||
|
||||
### Synopsis
|
||||
|
||||
`watchyap.py [-h] [--save] [--inkscape] [--git] [--log] [--dbus] [-d DIRECTORY] [-y DELAY] [-s SEPARATOR] [-t TEMPLATE] [-w] [-v {DEBUG,INFO,WARNING,ERROR}] [-e {opened,moved,deleted,created,modified,closed}...] target [target ...]`
|
||||
`watchyap.py [-h] [--save] [--inkscape] [--git] [--gitpush] [--log] [--dbus] [-d DIRECTORY] [-y DELAY] [-s SEPARATOR] [-t TEMPLATE] [-w] [-v {DEBUG,INFO,WARNING,ERROR}] [-e {opened,moved,deleted,created,modified,closed}...] target [target ...]`
|
||||
|
||||
### Required positional argument
|
||||
|
||||
|
|
@ -53,6 +54,7 @@ Actions:
|
|||
* `--save`: Save a snapshot of the watched file.
|
||||
* `--inkscape`: Save a PNG snpashot of the watched SVG file.
|
||||
* `--git`: Commit the watched file if it has been modified.
|
||||
* `--gitpush`: Commit, pull and push the watched file if it has been modified.
|
||||
* `--log`: Print a message.
|
||||
* `--dbus`: Send a notification to the system's D-Bus.
|
||||
* `--zenity`: Pop-up a dialog window.
|
||||
|
|
|
|||
Loading…
Reference in a new issue