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 method for "apply_service" #17

Closed
krihal opened this issue Mar 18, 2024 · 2 comments
Closed

Add method for "apply_service" #17

krihal opened this issue Mar 18, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@krihal
Copy link
Collaborator

krihal commented Mar 18, 2024

apply_service in the Clixon class should be added with the possibility to do a diff.

@krihal krihal added the enhancement New feature or request label Mar 18, 2024
@krihal krihal self-assigned this Mar 18, 2024
@krihal
Copy link
Collaborator Author

krihal commented Mar 18, 2024

Fixed with e8649ac.

@krihal krihal closed this as completed Mar 18, 2024
@krihal
Copy link
Collaborator Author

krihal commented Mar 18, 2024

Example:

from clixon.clixon import Clixon

clixon = Clixon()

data = clixon.apply_service("ssh-users", "test", diff=True)

print(data)

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