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 an execution module that does primitive parsing on state and execution module fns. #52044

Merged
merged 9 commits into from
Mar 8, 2019

Conversation

cro
Copy link
Contributor

@cro cro commented Mar 7, 2019

What does this PR do?

It is sometimes helpful to know all the execution and state module functions that exist. The Salt loader and sys.doc go a long way to providing that, but are unable to return modules and functions that do not have current dependencies installed. This execution module does some primitive parsing on all the .py files in the modules and states directories and returns a dictionary keyed by module and function name. Each dictionary entry contains a list of arguments that the function can take.

This module also contains a second function that returns a list of all functions that take the test argument (for dry runs, aka test=True)

@dwoz dwoz merged commit 2128d71 into saltstack:develop Mar 8, 2019
garethgreenaway added a commit to garethgreenaway/salt that referenced this pull request Sep 18, 2019
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.

2 participants