mirror of
https://github.com/malob/prefmanager.git
synced 2024-12-14 11:57:49 +00:00
Update readme
This commit is contained in:
parent
b98c0e7624
commit
56d271b02e
3 changed files with 25 additions and 2 deletions
25
README.md
25
README.md
|
@ -1,10 +1,31 @@
|
|||
# macOS Preferences Manager
|
||||
|
||||
This project is a WIP, currently only basic watching functionality has been implemented.
|
||||
This project is a WIP, currently only watching functionality has been implemented.
|
||||
|
||||
## Usage
|
||||
|
||||
Currently available commands:
|
||||
|
||||
```
|
||||
> prefmanager --help
|
||||
|
||||
macOS Preferences Manager - a utility for working with macOS preferences
|
||||
|
||||
Usage: prefmanager COMMAND
|
||||
|
||||
Available options:
|
||||
-h,--help Show this help text
|
||||
|
||||
Available commands:
|
||||
watch Watch domain(s) for changes
|
||||
domains List all domains
|
||||
```
|
||||
|
||||
Watch functionality:
|
||||
|
||||
```
|
||||
> prefmanager watch --help
|
||||
|
||||
Usage: prefmanager watch (DOMAIN... | (-a|--all))
|
||||
Watch domain(s) for changes
|
||||
|
||||
|
@ -13,3 +34,5 @@ Available options:
|
|||
-a,--all Watch all domains including NSGlobalDomain
|
||||
-h,--help Show this help text
|
||||
```
|
||||
|
||||
![Watch command example](./screenshot.png)
|
||||
|
|
|
@ -41,7 +41,7 @@ commands = hsubparser
|
|||
)
|
||||
$ progDesc "Watch domain(s) for changes"
|
||||
)
|
||||
<> command "list-domains"
|
||||
<> command "domains"
|
||||
(info
|
||||
(pure $ domains >>= traverse_ (putStrLn . T.unpack . coerce) . S.toList)
|
||||
(progDesc "List all domains")
|
||||
|
|
BIN
screenshot.png
Normal file
BIN
screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 142 KiB |
Loading…
Reference in a new issue