dasel icon indicating copy to clipboard operation
dasel copied to clipboard

Apple plist support

Open gedw99 opened this issue 4 years ago • 4 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Support apple plist file types.

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

Plost files are used for app manifests and need to be adjusted a lot for deployment of apps.

most xml file type so it might just need slight changes from the existing xml code.

I might be tempted to write a package that scrapes all the plist dictionaries to allow a strongly typed adjuster to use your lib too.

this will help devs to be able to easily check for plist correctness

gedw99 avatar Aug 15 '21 14:08 gedw99

Sure I can see the value in this.

This package looks promising: https://github.com/DHowett/go-plist

TomWright avatar Aug 15 '21 14:08 TomWright

Nice find.

mit begs the question - is it worth integrating into damsel ?

Until I play with it I am not sure .

gedw99 avatar Aug 15 '21 19:08 gedw99

Are you looking to use the functionality from the commandline or from go?

TomWright avatar Aug 15 '21 19:08 TomWright

Both actually …

for a dev, they can use it to generate and check their Plist files.

i am building gui using gioui which targets browsers, desktop and mobile. It supports all Mac devices ( desktop, iOS, watch and tv ) so there are a plethora of PList dictionaries to keep correct.

Gui is based on https://gioui.org/

Commnd line will just use cobra.

i will probably also build a desktop app using gio that does it for a developer also, that does the same thing as the command line too, just to make it even easier for developers and semi developers.

Thanks for taking an interest in this.

it will all be open source. And integrated into gioui also if the team accepts it.

gedw99 avatar Aug 16 '21 08:08 gedw99