Various helper scripts

Developing in any code system can be a complicated process, and developers inevitably come up with various helper scripts to help smooth the process.

Here you will find some scripts that ease working with Jester.

jsequence

Easily generate properly formatted sequence templates or action fragments with one command.

jsequence removes the headache of getting initial sequence templates laid out. Probably the most frustrating part of building sequences is dealing with syntax errors due to improper formatting, and this script eliminates many of those issues.

When called with no arguments, it brings up a dialog asking a few simple questions which it uses to generate the template. Alternatively, it can be called with a variable number of arguments, each the name of an action, and it will output just the structure for the passed actions, which can then be copied or piped into an existing sequence.

You can also call it with the following special arguments:

  • keys: outputs the template for the rather complex keys parameter.
  • actions: outputs a list of all known actions.

Installation

Manually
  1. Follow the instructions in the main Jester installation instructions for properly setting your LUA_PATH environment variable.
  2. Move (or better yet, symlink) this script somewhere into your $PATH (~/bin, /usr/local/bin, etc.)
  3. If you use bash completion, you can place scripts/jsequence.bash_completion in your bash completion directory to enable completion for the command.
generated by LDoc 1.4.6 Last updated 2021-04-08 08:59:59