Skip to content

Commit 6790215

Browse files
committed
chore(workflow-cli): change tls command
1 parent b841f1f commit 6790215

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

parser/tls.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,20 @@ func TLS(argv []string, cmdr cmd.Commander) error {
1111
Valid commands for tls:
1212
1313
tls:info view info about an application's TLS settings
14-
tls:enable enables the router to enforce https-only requests to an application
15-
tls:disable disables the router to enforce https-only requests to an application
14+
tls:force:enable enables the router to enforce https-only requests to an application
15+
tls:force:disable disables the router to enforce https-only requests to an application
16+
tls:auto:enable enables the router to automatic generation of certificates to an application
17+
tls:auto:disable disables the router to automatic generation of certificates to an application
1618
1719
Use 'drycc help [command]' to learn more.
1820
`
1921

2022
switch argv[0] {
2123
case "tls:info":
2224
return tlsInfo(argv, cmdr)
23-
case "tls:enable":
25+
case "tls:force:enable":
2426
return tlsEnable(argv, cmdr)
25-
case "tls:disable":
27+
case "tls:force:disable":
2628
return tlsDisable(argv, cmdr)
2729
case "tls:auto:enable":
2830
return tlsAutoEnable(argv, cmdr)

0 commit comments

Comments
 (0)