Default the service install prompt to yes

This commit is contained in:
Sterling Archer
2026-08-12 10:20:01 -07:00
parent 0f4cc3f01f
commit 4320f55bd4
+3 -2
View File
@@ -341,8 +341,9 @@ def cmd_service(args):
print(" in the environment it inherits.") print(" in the environment it inherits.")
print() print()
if not args.yes and not confirm("Install and start it now?"): if not args.yes and not confirm("Install and start it now?", default=True):
print("Not installed.") print("Not installed. Nothing is running.")
print(f"Run it in the foreground with: {paths.command('run ' + name)}")
return return
ok, detail = service.install(name) ok, detail = service.install(name)