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

Add input secret select to built-in function for interactive input #297

Merged
merged 2 commits into from
Nov 20, 2022

Conversation

k1LoW
Copy link
Owner

@k1LoW k1LoW commented Nov 20, 2022

ref: #296

$ cat prompt.yml
desc: Prompt
steps:
  -
    bind:
      twitterID: input("Enter your twitter ID", "default")
  -
    dump: twitterID
$ go run ./cmd/runn/main.go run prompt.yml
Enter your twitter ID [default]: k1LoW
k1LoW
Prompt ... ok

1 scenario, 0 skipped, 0 failures

@k1LoW k1LoW self-assigned this Nov 20, 2022
@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

Code Metrics Report

main (d810960) #297 (ab3336c) +/-
Coverage 77.0% 76.8% -0.1%
Code to Test Ratio 1:0.7 1:0.7 -0.0
Details
  |                    | main (d810960) | #297 (ab3336c) |  +/-  |
  |--------------------|----------------|----------------|-------|
- | Coverage           |          77.0% |          76.8% | -0.1% |
  |   Files            |             34 |             34 |     0 |
  |   Lines            |           3380 |           3386 |    +6 |
  |   Covered          |           2601 |           2601 |     0 |
- | Code to Test Ratio |          1:0.7 |          1:0.7 |  -0.0 |
  |   Code             |           7462 |           7476 |   +14 |
  |   Test             |           5199 |           5199 |     0 |

Code coverage of files in pull request scope (75.2% → 73.9%)

Files Coverage +/-
option.go 73.9% -1.3%

Reported by octocov

@k1LoW k1LoW merged commit edaf53a into main Nov 20, 2022
@k1LoW k1LoW deleted the prompt branch November 20, 2022 08:49
@github-actions github-actions bot mentioned this pull request Nov 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant