SecondSonConsulting / Baseline

An MDM agnostic zero touch solution for macOS
MIT License
192 stars 22 forks source link

Feature Idea: `InfoBox.md` in Baseline folder will be used as the SwiftDialog infobox feature #46

Closed BigMacAdmin closed 3 months ago

BigMacAdmin commented 5 months ago

It's not possible to add dynamic info into the SwiftDialog "infobox" currently. If we made a feature to just use whatever is in /usr/local/Baseline/InfoBox.md as the infobox contents, then folks can use an initial script to set that file up and make full use of that SwiftDialog feature.

BigMacAdmin commented 5 months ago

Maybe an accompanying configuration key so that users can set a custom location for that .md file?

bartreardon commented 5 months ago

It's not possible to add dynamic info into the SwiftDialog "infobox" currently.

From a baseline standpoint or a swiftdialog standpoint? you can do the latter with echo "infobox: <markdown text here>" >> /path/to/commandfile.log

BigMacAdmin commented 5 months ago

From a Baseline standpoint. Currently the only way to populate the InfoBox in Baseline is to configure your messaging in the config file itself, making it require backflips if you wanted to do anything dynamic.

I'm aiming to make it easier by allowing folks to make an .md file from a script or another process, then let Baseline pick that up

bartreardon commented 5 months ago

that gives me an idea

BigMacAdmin commented 3 months ago

Closing this out w/out implementing. This can easily be accomplished with an InitialScript and the features Bart is adding to Dialog 2.5 will make this even better.