Releases: swiftDialog/swiftDialog
Dialog 1.3.2 - Death of the app bundle, huzzah for JSON
New in this release:
-
New
--json,-j
option that output any results (for now, only the output of the selected dropdown, if any) in json format for easy parsing into your calling script. -
Also fixed the cli app displaying a shell exec icon on the Dock while running.
And with that.... there will no longer be any releases of the app bundle version of dialog. From this version onward, I'll only release the cli app in .zip and .pkg bundles.
Dialog v 1.3.1
Fixes a display issue where the dropdown and message text were not aligned.
Dialog 1.3.0
Skipped 1.2 and went straight to 1.3 because 🥁🥁🥁🥁 Dialog is now also a proper cli utility.
Included in this release is dialog_cli.pkg
that installs /usr/local/bin/dialog
The app bundle version is exactly the same but included here for anyone using that version in their scripts. It is not required to have both installed.
<<< Given that Dialog is a command line driven application, it's highly likely that the app bundle version will go away in a future release >>>
v1.3.0 changes
- compiled as a command line utility
- supplied pkg installs to
/usr/local/bin
(or install the binary fromdialog_cli_1.3.0.zip
to some location in your$PATH
) - dialog can then be called directly at the CLI as
$ dialog --title ...
without needing to provide the full path to the binary in the app bundle
- supplied pkg installs to
v1.2.0 changes
- Moved the positioning so it's along the bottom of the message text, just above the buttons
- Removed width constraint. It will take the width of the message text area
- refined the output piped to sddout
- refined command line options
--selecttitle <text>
Title for dropdown selection
--selectvalues <text><csv>
List of values to be displayed in the dropdown, specivied in CSV format
e.g. "Option 1,Option 2,Option 3"
--selectdefault <text>
Default option to be selected (must match one of the items in the list)
If specified, the selected option will be sent to stdout in two forms:
SelectedOption - Outputs the text of the option seelcted
SelectedIndex - Outputs the index of the option selected, starting at 0
example output:
SelectedOption: Option 1
SelectedIndex: 0
Output of select items is only shown if Dialog's exit code is 0
Dialog 1.3.0 Beta1
Experimental Release
Dialog is now a command line utility. Installer will install to /usr/local/bin/dialog
which should be in your path.
Still does everything v1.2.0 does, but not with all the .app
gunk.
Dialog 1.2.0 Beta 2
Enhancements to the dropdown over beta 1:
- Moved the positioning so it's along the bottom of the message text, just above the buttons
- Removed width constraint. It will take the width of the message text area
- refined the output piped to sddout
- refined command line options
--selecttitle <text>
Title for dropdown selection
--selectvalues <text><csv>
List of values to be displayed in the dropdown, specivied in CSV format
e.g. "Option 1,Option 2,Option 3"
--selectdefault <text>
Default option to be selected (must match one of the items in the list)
If specified, the selected option will be sent to stdout in two forms:
SelectedOption - Outputs the text of the option seelcted
SelectedIndex - Outputs the index of the option selected, starting at 0
example output:
SelectedOption: Option 1
SelectedIndex: 0
Output of select items is only shown if Dialog's exit code is 0
Dialog 1.2.0 Beta 1
Dialog V1.1.2
Added the ability for icon view to pull icons from .prefPane
bundles, e.g. --icon /System/Library/PreferencePanes/Profiles.prefPane
will show the Profiles prefpane icon in your dialog.
Also added experimental support for running a shell script as part of the button 1 action via the --button1shellaction
command line option.
--button1shellaction <command>
<< EXPERIMENTAL >>
Runs the specified shell command using zsh
Command input and output is not sanitised or checked.
If your command fails, Dialog still exits 0
Dialog 1.1
Added Fullscreen option.
Read about Full Screen in the wiki
Dialog 1.0
First prod ready release
Dialog 1.1 beta 1
Added full screen option:
use -f
or --fullscreen
to display the dialog content in a full screen view.
options available in fullscreen (in order of appearance):
--bannerimage
--title
--icon
--message