Skip to content

Releases: Impedimenta/Suitcase

Alpha 4: Interpreter Mode

28 May 17:36
a66c983
Compare
Choose a tag to compare

Suitcase alpha 4 has three changes, compatible version, improved parameter replacement and interpreter mode. It was also compiled with Xcode 11.5 GM and not the beta seeds.

🧳 Suitcase Direct Download

Token Replacement in Parameter Arguments

Starting in alpha 4 --control-action-parameter arguments can take control identifier tokens that are replaced with the controls value when the action is triggered. This lets you build up paths or combine multiple control values and use them as a single argument.

--control-title="Sign" 
  --control-type="button" 
  --control-group-identifier="sign.group" 
  --control-action="/usr/bin/codesign" 
    --control-action-parameter="-s,BD_SIGN_CREDS,-f,--options,runtime,{{BD_BUILD_DIR}}/{{BD_BUILD_CONFIG}}/Suitcase" 

Added --compatibleVersion Argument

This new argument allows a command to specify what version of Suitcase can run it. The compatible version arguments takes a string in the Semantic Versioning format.

Interpreter Mode 🥳

Interpreter Mode

This is a big one. Suitcase can now be called from a script in a similar way to bash or python. Just start you script with this hash-bang,

#! /usr/local/bin/Suitcase interpreter

All arguments need to be on a single line and it supports comments using #.

Here is the YouTube-DL Example using interpreter mode,

#! /usr/local/bin/Suitcase interpreter

# Drag and drop URLs to the floating window
# and download the embedded video stream using
# `youtube-dl`. 

# Application 
--name="Download YouTube" 
--window-floating # The window will be infront of all others

# Dropped URL Control
--control-type="dropped-urls-label" 
--control-title="## Drop Your URLs Here! ##" 

# Download Button & Action
--control-title="Download" 
  --control-type="button" 
  --control-action="/usr/local/bin/youtube-dl"
  --control-action-parameter="-o,~/Downloads/video.mp4,SUITCASE_DROPPED_URLS" 

🧳 Suitcase v1.0.0b8 - Alpha 3

14 May 15:32
3bd513e
Compare
Choose a tag to compare

The Third Release

This build adds a few more features (dividers, spacers and mono text). The spacers and dividers allow for interfaces that, look nicer, are more Mac-like and have logical separation of data.

For example spacers, were added to support interfaces like this, SCalc calculator (read the back story)

SCalc > PCalc

Features

Install

Install a Suitcase command onto your system so it can be quickly launched by the run command. You can install a running Suitcase by selecting the "Suitcase > Install" menu item.

Suitcase > Install

Controls

--dividers

Adds a visual dividing line either vertically or horizontally depending on its context.

--spacers

Adds a spacer that expands to fill the space, allows for controls to be left or right aligned.

text-mono control type

This new control type acts the same as the text type. The only difference is the font used in mono-spaced. This is useful when displaying ASCII charts and tables.

Hexdump

Commands

diagnostic

Outputs basic system info for attaching to bug reports. The report will be added to over time.

$ Suitcase diagnostic⏎

run

Launch a Suitcase command placed in any of the paths in the environment variable PATH. Suitcase will search the paths in order looking for a command named "suitcase-" where <COMMAND NAME> is the argument passed to the run command.

You can install a running command using the menu item "Suitcase > Install".

$ Suitcase run helloworld⏎

Alpha Two

23 Apr 01:06
552d63c
Compare
Choose a tag to compare

Additions

  • Window height default is now zero - shrink to fit
  • Text controls have a minimum height of 40 points

Fixes

  • Fixed missing symbol when running on macOS 10.15 - 10.15.4
  • The installer now prevents Suitcase from being installed on systems < 10.15.

Features

  • Creating; labels, text fields and buttons
  • Creating Menus and Submenus
  • Exporting archives (that will run with a double click)
  • Multiple commands per action
  • Pipe command and output the result to the window

Please see the --help for full documentation.

Feedback

Please create issues for bugs or feature requests and pull requests for documentation improvements.

If you build something cool consider submitting it to: https://github.com/Impedimenta/Suitcase-Bazaar