Jumpfs is normally called via scripts. If you want to add a custom command you'll need to know about the commands and parameters.
The basic syntax is
jumpfs *command* [--*parameter* [*value*]]
It's generally ok to omit the value for a parameter - this makes it easier to write scripts. For example, this is a perfectly acceptable way of creating a bookmark in the current directory
jumpfs mark --name h --path --line --column
The mark command creates or replaces a bookmark.
Required. The name of the bookmark
Optional path to the bookmark (defaults to current working directory)
Optional line (defaults to 0)
Optional column (defaults to 0)
The find command locates a bookmark and returns its value in a specified format
Required. The name of the bookmark
A flag which forces the path to be returned in Windows format which can be useful if trying to pass paths to Windows executables from within WSL.
Optional format descriptor (defaults to "%f")
- %f expands to the bookmark value when a folder or the containing folder when a file
- %p - expands to the full bookmark path
%l - expands to the bookmark line number
%c - expands to the bookmark column number
%N - expands to the a newline
%D - expands to the drive letter for a windows path
Format specifiers can be combined. E.g.
--format "%p@(%l,%c)"
The list command lists all bookmarks that match the specified criteria
Optional match string. If supplied, all bookmarks whose name or path contain the substring will be displayed, otherwise all stored bookmarks will be displayed
The info command displays version and environmental information and will check for updates.
The showargs command simply echoes back a list of arguments that have been supplied. This can be useful when debugging script interpolation issues.