dlgs icon indicating copy to clipboard operation
dlgs copied to clipboard

Any plans on having a CLI?

Open NightMachinery opened this issue 3 years ago • 2 comments

I searched around, and did not find any prior art on a crossplatform CLI dialog tool. (There are some platform-specific tools, e.g., https://github.com/cocoadialog/cocoadialog.) Is there any interest in creating a CLI wrapper around dlgs to fill this niche? If nobody has the time for it, I can probably do it myself when I should have the time.

NightMachinery avatar Sep 08 '20 04:09 NightMachinery

No plans, currently dlgs already use cli tools i.e. zenity/qarma/osascript for dialogs, only on Windows it uses native functions via win32 API. When I started project, there was a plan to also make a CGO alternative that will be available via tags (gtk, qt or both), in that case, CLI tool would be nice, but wrapper for wrapper not sure if makes sense.

gen2brain avatar Sep 08 '20 13:09 gen2brain

Check out github.com/ncruces/zenity.

Still missing most dialogs, but the intention is to provide a zenity compatible CLI on Windows and macOS for everything that is supported.

ncruces avatar Mar 30 '21 01:03 ncruces