Skip to content

Commit

Permalink
chore: change prompt message
Browse files Browse the repository at this point in the history
  • Loading branch information
5n7-sk committed Dec 15, 2020
1 parent e41dcac commit ceb62cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/cli_get.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func (c *CLI) applyFilters(v *vin.Vin, opt Options) (*vin.Vin, error) {
func (c *CLI) selectApps(v *vin.Vin) (*vin.Vin, error) {
repos := make([]string, 0)
prompt := &survey.MultiSelect{
Message: "select applications to install",
Message: "Select applications to install",
Options: v.Repos(),
}
if err := survey.AskOne(prompt, &repos); err != nil {
Expand Down
4 changes: 2 additions & 2 deletions cli/cli_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func (c *CLI) AskGitHubAccessToken() (string, error) {
fmt.Println(tokenGenerateURL)
var token string
prompt := &survey.Input{
Message: "input your token:",
Message: "Input your token:",
}
if err := survey.AskOne(prompt, &token); err != nil {
return "", err
Expand All @@ -35,7 +35,7 @@ func (c *CLI) StoreAccessToken(token string) error {
if _, err := os.Stat(tokenPath); !os.IsNotExist(err) {
var overwrite bool
prompt := &survey.Confirm{
Message: "token file already exists; overwrite?",
Message: "Token file already exists. Overwrite?",
}
if err := survey.AskOne(prompt, &overwrite); err != nil {
return err
Expand Down

0 comments on commit ceb62cc

Please sign in to comment.