kcrawford / dockutil

command line tool for managing dock items
http://patternbuffer.wordpress.com
Apache License 2.0
1.38k stars 130 forks source link

Declarative interface #164

Open jlaffaye opened 3 months ago

jlaffaye commented 3 months ago

Be able to declare in a single file:

kcrawford commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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

securitygeneration commented 3 weeks ago

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.