Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Providing command-line arguments shouldn't prompt for more input #15

Open
mark-wiemer opened this issue Aug 2, 2019 · 0 comments
Open
Labels
feature New feature or request

Comments

@mark-wiemer
Copy link
Owner

Is your feature request related to a problem? Please describe.
When I provide command-line arguments, I only want to solve/play one level. Do not prompt me to enter an infinite loop, as that makes it more difficult to automate usage of the project.

Describe the solution you'd like
Don't prompt for infinite loop, just return 0 if game was solved, nonzero otherwise with informative error message

Describe alternatives you've considered
Currently I have to wrap all scripts using this with "no" inputs and provide that as well, wrapped in a scanner. Lots of maintenance code when a simple fix is possible

Additional context
N/A

Acceptance criteria

  • Don't prompt me to enter an infinite loop if I provide command-line arguments
  • Give me a return code of 0 if nothing went wrong, nonzero otherwise
@mark-wiemer mark-wiemer added the feature New feature or request label Aug 2, 2019
@mark-wiemer mark-wiemer added this to To Do in Calculator Game via automation Aug 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature New feature or request
Projects
No open projects
Development

No branches or pull requests

1 participant