Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New command-line interface #589

Merged
merged 1 commit into from
Jul 27, 2020
Merged

New command-line interface #589

merged 1 commit into from
Jul 27, 2020

Conversation

nxtn
Copy link
Contributor

@nxtn nxtn commented Jul 20, 2020

Fixes #30
Fixes #317
Fixes #398
Fixes #400
Fixes #409
Fixes #433

NOTE
This is not a final design.

Removed

  • stopwait
    Use stop w/o options instead.
  • testwait
    Use test w/o options instead.
  • /p
    Use <prompt> or --username/--password instead. We may consider adding it back with a different name.

Added

  • All commands: an optional path to config argument
    Usage: winsw install path/to/config.xml
  • All applicable commands: --no-elevate
  • install: --user|--username and --pass|--password
  • stop: --no-wait and --force
  • restart: --force
  • test:
    • --timeout <seconds>
    • --no-break
      If unspecified, test waits for a key press by default.

Changed (default behaviors)

  • stop -> stop --no-wait
  • test -> test --timeout 1

Code size

+1051 KB

/cc @MrGrymReaper @laguiz @arthurblake @waffel @vsspt @shaunakmandal @jeacott1 @dreamflow who may be interested in this area. Please add a reaction to indicate that you want to be subscribed to further updates.

@nxtn nxtn merged commit 3ea68e2 into winsw:v3 Jul 27, 2020
@nxtn nxtn deleted the v3-cli branch July 27, 2020 05:55
@nxtn nxtn mentioned this pull request Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant