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

Declarative interface #164

Open
jlaffaye opened this issue Aug 24, 2024 · 4 comments
Open

Declarative interface #164

jlaffaye opened this issue Aug 24, 2024 · 4 comments
Assignees

Comments

@jlaffaye
Copy link

Be able to declare in a single file:

  • /Applications/iTerm.app at position 2 -> If it is not already in the dock, add it, otherwise move it to position 2
  • Remove /Applications/GarageBand.app, if its already not in dock, no error
@kcrawford
Copy link
Owner

kcrawford commented Aug 24, 2024

Sounds interesting. Would this be a file that you would feed to dockutil and it would ensure the Dock was configured to match the declarations?

@jlaffaye
Copy link
Author

Yes, exactly.
The goal is that I could run dockutil apply config.yaml on two different machines (with two different "current" dock config), it will make sure the dock matches what is configured in the file. And I dont have to know the current state of the dock to make the proper mutation calls, dockerutil will do that for me.

@kcrawford
Copy link
Owner

Thanks for taking the time to request and explain this. I like it and will work on it when I can.

@kcrawford kcrawford self-assigned this Aug 25, 2024
@securitygeneration
Copy link

I really like this idea too. We haven't started using docktutil yet, but being able to do so using a single declarative config file would be great.

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

No branches or pull requests

3 participants