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

CLI args for noninteractive and runnable to run #61

Merged
merged 2 commits into from
Nov 10, 2022
Merged

Conversation

karlnaden
Copy link
Contributor

Summary

Add option for command line arguments to the CLI, initially including

  • disable interactivity
  • specify the runnable to execute

New behavior

CLI supports arguments

  • -n or --noninteractive to disable user input
  • -r or --runnable to specify the runnable name, works only if noninteractive mode usedd

Code changes

updates to the CLI module to support using inputs from ARGV

Testing guidance

run bundle exec bin/testscript_engine with additional arguments

Copy link
Contributor

@ms-k1ngk0ng ms-k1ngk0ng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! I like the idea of making it interactive, or non-interactive and am including that in the config file PR.

README.md Show resolved Hide resolved
@karlnaden karlnaden merged commit 5f78256 into main Nov 10, 2022
@karlnaden karlnaden deleted the InitialCLIArgs branch November 10, 2022 20:23
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.

None yet

2 participants