https://github.com/starcodr/blast
CLI command for bookmarking latest command in history
https://github.com/starcodr/blast
bookmark bookmark-manager cli command-line-tool console-tool history javascript linux nodejs shell terminal-app
Last synced: 3 months ago
JSON representation
CLI command for bookmarking latest command in history
- Host: GitHub
- URL: https://github.com/starcodr/blast
- Owner: Starcodr
- License: gpl-3.0
- Created: 2022-07-13T11:51:10.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-21T23:34:07.000Z (over 2 years ago)
- Last Synced: 2025-06-28T08:06:43.128Z (3 months ago)
- Topics: bookmark, bookmark-manager, cli, command-line-tool, console-tool, history, javascript, linux, nodejs, shell, terminal-app
- Language: JavaScript
- Homepage:
- Size: 84 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BLAST
Linux cli command for bookmarking latest command in history with accompanying GUI for browsing and managing bookmarks.
## Installation
```
Install the code from NPM repository:
$ npm install blarst
```
```
Register/install globally to run as executable command from anywhere:
$ sudo npm install -g blarst
```
To enable autocompletion on commandline add "source ~/.config/blast/completion.sh" to your bashrc file.#
## Usage
### Bookmark latest history entry
```
$ bin/console doctrine:migrations:migrate
(some doctrine output)
...etc
$ blast as migrate
Bookmark "migrate" created for:
bin/console doctrine:migrations:migrate
$ █
```
### Run bookmarked command
```
$ blast migrate
(some doctrine output)
...etc
$ █
```
### List bookmarks starting with specified string
```
$ blast show migrateBookmark doctrine:
bin/console doctrine:migrations:migrate$ █
```
### List all bookmarks on command line
```
$ blast show $
```
### Delete bookmark
```
$ blast delete migrate
Deleting bookmark: doctrine
$ █
```Run "blast" command without parameters to open GUI.
The GUI shows a list of all bookmarked commands. Writing the name of the command and pressing enter executes the command.
Tab completion on bookmark names is supported. Tab completion will also filter the list to show only the matching bookmarks.
#
## TODO
- Comment for bookmark
- Linewrapping of commands in list