Skip to content

Commit

Permalink
Mention shell autocomplete.
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed Dec 4, 2024
1 parent 0e9e3ba commit f8d5c5c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions doc/src/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@

*Highlights:*

**Row** 0.4 expands the `command` templating functionality to improve support for
command line applications as actions. This removes the need for _shim_ scripts that
access the workspace path and/or directory values before invoking a subprocess.
`{workspace_path}` expands to the current project's workspace path and `{/JSON pointer}`
expands to the value of the given JSON pointer for the directory acted on.

**Row** 0.4 also adds _shell autocompletion_. To enable, execute the appropriate
command in your shell's profile:
* Bash: `source <(COMPLETE=bash your_program)`
* Fish: `source (COMPLETE=fish your_program | psub)`
* Zsh: `source <(COMPLETE=zsh your_program)`

*Added:*

* In job scripts, set the environment variable `ACTION_WORKSPACE_PATH` to the _relative_
Expand All @@ -12,6 +24,7 @@
_relative_ path to the current workspace.
* `{/JSON pointer}` template parameter in `action.command` - replaced with the portion
of the directory's value referenced by the given JSON pointer.
* Shell autocomplete.

*Fixed:*

Expand Down

0 comments on commit f8d5c5c

Please sign in to comment.