Add commands

pull/608/head
NextTurn 2020-08-10 00:00:00 +08:00
parent 56ae24593a
commit ea8b14e79f
No known key found for this signature in database
GPG Key ID: 17A0D50ADDE1A0C4
2 changed files with 32 additions and 1 deletions

View File

@ -60,7 +60,7 @@ Your renamed *WinSW.exe* binary also accepts the following commands:
| [status](docs/cli-commands.md#status-command) | Checks the status of the service. |
| [test](docs/cli-commands.md#test-command) | Checks if the service can be started and then stopped without installation. |
| [refresh](docs/cli-commands.md#refresh-command) | Refreshes the service properties without reinstallation. |
| customize | Customizes the wrapper executable. |
| [customize](docs/cli-commands.md#customize-command) | Customizes the wrapper executable. |
| dev | Experimental commands. |
Experimental commands:

View File

@ -10,6 +10,7 @@
- [status](#status-command)
- [test](#test-command)
- [refresh](#refresh-command)
- [customize](#customize-command)
## `install` command
@ -218,3 +219,33 @@ If a file isn't specified, WinSW searches the executable directory for a *.xml*
- `--no-elevate`
Doesn't automatically trigger a UAC prompt.
## `customize` command
Customizes the wrapper executable.
### Usage
```console
winsw customize -o|--output <output> --manufacturer <manufacturer>
```
### Options
- `-o|--output <output>`
Required. Specifies the path to the output file.
- `--manufacturer <manufacturer>`
Specifies the manufacturer name of the customized executable.
## `dev ps` command
Draws the process tree associated with the service.
### Usage
```console
winsw dev [<path-to-config>] ps
```