v0.2 - Command line interfaces


plus-x's primary goal is to make the process of managing executable permissions easier for developers who don't feel up to setting up a Unix-friendly environment for doing so manually. The primary use-case is to have something that can be double clicked on in a file browser, and can update permissions quickly via a graphical interface.


That's nice for one off things, but a piece of software may have many releases, and it often makes sense to automate these kinds of packaging concerns. With that in mind, plus-x now provides a non-interactive command line interface, perfect for integrating with build or deployment scripts.

For people who prefer to work on in a terminal but aren't looking to automate the process, there's now also includes an interactive command line interface, which provides the same functionality as the two graphical interfaces.


On Windows, if you run plus-x from a file browser or from a terminal without any arguments, it will launch a graphical interface. If you run plus-x from a command line with an archive, but without the +x or -x switches, it will prioritise the interactive command line interface.


This update also includes a number of minor tweaks and fixes. If you have any troubles or questions, feel free to lodge an issue on plus-x's GitLab repo.

Enjoy!


Full changelog:

  • Version bump
  • Added --help argument to display usage info
  • Added PlusXCL non-interactive command line interface class
  • Added PlusXCLI interactive command line interface class
  • Added PlusX::__init__() function to print version number
  • Added UI choice menu when launching from the command line without specifying an archive
  • Updated PlusX::updateArchive() to only print names of changed files when applying changes
  • Updated PlusXGTKUI and class to take a filename and load on init
  • Updated PlusXTKUI and class to take a filename and load on init
  • Updated tkinter module availability errors to only be output for relevant Python version
  • Updated class instantiation to occur after argument processing
  • Updated class instantiation to pass in archive filename if provided as an argument
  • Updated quit message to include archive name
  • Updated readme to include non-interactive usage instructions
  • Updated readme to include command line interface details
  • Fixed bad version number
  • Fixed some readme typos
  • Fixed version output being displayed multiple times at startup
  • Fixed bad check for python2 Tkinter module during startup
  • Fixed not being able to click on the first row on some systems with Tcl/TK interface (hack workaround for 0th row being assigned a default iid)

Files

plus-x-v0.2.zip 12 kB
Version v0.2-5-g477ddc9b Aug 29, 2021

Get plus-x

Download NowName your own price

Leave a comment

Log in with itch.io to leave a comment.