BoxLang 🚀 A New JVM Dynamic Language Learn More...
Bookmarks allow you to bookmark directories and commands for easy access.
Install bookmarks using commandbox:
CommandBox> install commandbox-bookmarks
CommandBox> bookmark list
Name (optional) - Defaults to current folder name.
Path (optional) - Fully qualified or relative file path (eg: C:\projects or ../../). Defaults to current file path.
Lastcommand (optional) - Grabs the last command run from commandbox and stores it to a bookmark
CommandBox> bookmark add [name] [path/command]
CommandBox> bookmark add Home c:\projects
CommandBox> bookmark add Home "echo 'hello'"
CommandBox> bookmark add Home --lastcommand
CommandBox> bookmark add
CommandBox> bookmark + 'My Bookmark'
Name (optional) - Defaults to current folder name.
Path (optional) - Fully qualified or relative file path (eg: C:\projects or ../../). Defaults to current file path.
CommandBox> bookmark delete [name] [path]
CommandBox> bookmark delete Home
CommandBox> bookmark delete
CommandBox> bookmark - 'My Bookmark'
Name - Name of bookmark.
CommandBox> bookmark goto <name>
CommandBox> goto <name>
CommandBox> goto Home
CommandBox> bookmark clear
Name (optional) - Defaults to default.
CommandBox> bookmark profile <name>
CommandBox> bookmark profile foo
This is handy if you use ForgeBox to sync between different environments with different directory structures.
Name (optional) - Defaults to default if not included. If you set the Name to 'system.user', the active system account name will be used.
commandbox_bookmarks_profile=<name>
commandbox_bookmarks_profile=system.user
Name - Name of bookmark.
CommandBox> echo ${bookmark.<name>}
CommandBox> echo ${bookmark.Home}
$
box install commandbox-bookmarks