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

Modules should be able to use the -verbose setting #22

Closed
4 tasks done
skx opened this issue Jun 26, 2020 · 0 comments · Fixed by #23
Closed
4 tasks done

Modules should be able to use the -verbose setting #22

skx opened this issue Jun 26, 2020 · 0 comments · Fixed by #23
Assignees

Comments

@skx
Copy link
Owner

skx commented Jun 26, 2020

Right now -verbose just affects the output of the main driver, which executes the rules.

It seems natural to allow plugins to honor this flag too.

  • Define a configuration-struct.
  • Populate it, appropriately.
  • Pass it to modules.
    • Update all the modules that make sense to use -verbose flag.
@skx skx self-assigned this Jun 26, 2020
skx added a commit that referenced this issue Jun 26, 2020
At the moment we only have one command-line option, `-verbose`,
which is used to control how noisy to be when running a rule-file.

However it would be nice if modules could pay attention to that
flag as well as our execution-engine.  To allow that we have
now defined a structure to hold all global options, and made
it available to our plugin/modules.

This closes #22.
@skx skx closed this as completed in #23 Jun 26, 2020
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 a pull request may close this issue.

1 participant