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

Refactor ansible command into it's own file #74

Open
PhillSimonds opened this issue Jan 19, 2021 · 0 comments
Open

Refactor ansible command into it's own file #74

PhillSimonds opened this issue Jan 19, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@PhillSimonds
Copy link
Contributor

PhillSimonds commented Jan 19, 2021

Environment

  • Python version: all supported versions
  • schema-enforcer version: 1.1.0

Proposed Functionality

This issue proposes moving ansible command denoted in cli.py into it's own file, and moving others to something like core.py The thought process is that, if ansible is an optional dependency, it would make sense to extract the built-in commands from those which are add-ons. The architecture will proliferate to other optional dependencies, like nornir or others.

Use Case

The schema-enforcer ansible commands (e.g. schema-enforcer ansible <sub-command>) will run exactly as they do now, but will be imported from their own file instead of directly referenced in cli.py.

@PhillSimonds PhillSimonds added the enhancement New feature or request label Jan 19, 2021
@PhillSimonds PhillSimonds self-assigned this Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant