github swiftDialog/swiftDialog v1.5.0
Dialog v1.5.0 - text fields and markdown

latest releases: v2.5.0b2, v2.5.0b1, v2.4.2...
2 years ago

Dialog 1.5.0 now with more ways to collect and display information

Markdown support

In version 1.5.0 or newer you can specify markdown in your message text to modify the presentation.

Supported markdown follows the CommonMark Spec

Examples:

dialog --message "Text can include **bold** and _italics_

dialog --message "### Heading 3"

dialog --message " * point 1\n * point 2\n * point 3"

dialog --message "[A link that will open in the default browser](https://some.link.com/)"

dialog --message "\![Inline images are also supported](https://upload.wikimedia.org/wikipedia/commons/8/85/Logo-Test.png)"

Caution - When using inline images, you must escape the leading ! as \! otherwise your shell may interpret it as a command.

Suffice to say, things can get a bit crazy so use markdown sparingly

More Details in the wiki

Text field support

The --textfield option let you specify one or more areas where the user can enter in some text before dismissing the dialog

It takes a parameter as text and uses that parameter as the textfield label both in the dialog UI and in reporting output

The results are sent to stdout when dialog exits.

image

More Details in the wiki

Don't miss a new swiftDialog release

NewReleases is sending notifications on new releases.