Skip to content

Commit

Permalink
switch default flow to CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
rusq committed Dec 29, 2023
1 parent 2b9dd77 commit 4a9bfef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion auth/auth_ui/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
type CLI struct{}

func (*CLI) instructions(w io.Writer) {
const welcome = "Welcome to Slackdump EZ-Login 3000"
const welcome = "Welcome to Slackdump EZ-Login 3500"
underline := color.Set(color.Underline)
fmt.Fprintf(w, "%s\n\n", underline.Sprint(welcome))
fmt.Fprintf(w, "Please read these instructions carefully:\n\n")
Expand Down
2 changes: 2 additions & 0 deletions auth/auth_ui/survey.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//go:build ignore

package auth_ui

import (
Expand Down
2 changes: 1 addition & 1 deletion auth/browser.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

var _ Provider = BrowserAuth{}
var defaultFlow = &auth_ui.Survey{}
var defaultFlow = &auth_ui.CLI{}

type BrowserAuth struct {
simpleProvider
Expand Down

0 comments on commit 4a9bfef

Please sign in to comment.