
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Never use notepads or history for searching for your past commands. With BME you can bookmark your commands, search in your bookmarked commands and execute them with edit possibility before execution.
(Bookmark my Executions/Commands)
Never use notepads or history for searching for your past commands. With BME you can bookmark your commands, search in your bookmarked commands and execute them with edit possibility before execution.
No specific requirements here, whatever runs Python
On most MacOS machines there is pip3
instead of pip
use pip3 for install
Install and update using pip:
pip install bme
or
pip3 install bme
(Quotas can be used)
bme add <your command>
(Quotas can be used)
bme rm <your command>
(Quotas can be used)
bme list <searched>
Basic search bme run <searched>
Regex search bme run <searched> -r <my-regex*>
You can format command from bookmark with python formatting as such
Mixing tuple and dict arguments is not supported!
Example:
Tuple:
bme add echo "Hello {} !"
bme run ec Jiri
Dictionary arguments:
bme add echo "Hello {name} from {location}"
bme run ec name=Jiri location=Prague
or
bme run ec name=\"Jiri\" location=\"Prague\"
"-e" or "--edit"
for editing command before execution
"-r <your-regex>" or "--regex <your-regex>"
for full word search only
"-f" or "--full-word"
for full word search only
"-m" or "--match-case"
for search with matching case
(Quotas can be used)
bme run <your command>
Sequences are like scripts, except you don't have to search for location and manage them with different .bashrc
or different OS specific files.
Also thanks to this, you don't have to add them to PATH.
BME will take care of storing your sequences in your ~/.bme
folder and will help you to search in them.
These sequences work from everywhere and execution is always in your current working directory.
Create Sequence
bme seq create {name}
Example:
bme seq create my_sequence
Remove Sequence
bme seq rm {name}
Example
bme seq rm my_sequence
Edit Sequence
bme seq edit
This will display location of json with sequences
Add Command to Sequence
This will add command to sequence with use of variadic arguments
bme seq add {sequence_name} {command...}
Example:
bme seq add my_sequence ssh jiri@192.168.1.0
Pop Command from Sequence
This will pop command from sequence with use of variadic arguments
bme seq pop {sequence_name} {command...}
Example:
bme seq pop my_sequence ssh jiri@192.168.1.0
Sequence Run
Runs supplied sequence, and will do search for you if not found
bme sequence run {sequence_name}
Sequence does support formatting of dynamic arguments same way as bookmarks these arguments will be passed to every command for formatting
Example:
bme sequence run my_sequence John
or
bme sequence run my_sequence name=John
Sequence Watch (!BETA!)
Launches sequence on file modify
bme sequence watch {sequence_name} {file_path}
List Sequence
This will list commands and sequences, if argument is used search in text is applied to results
Optional flags:
"-r <your-regex>" or "--regex <your-regex>"` for full word search only
"-f" or "--full-word" for full word search only
"-m" or "--match-case" for search with matching case
Example Data:
In sequence DB there is:
'ssh jiri@192.168.1.0' command
'ssh jiri@192.168.1.55' command
'scp jiri@192.168.1.55' command
Command bme sequence list
will list all the sequences and their commands
Specific listing format:
bme sequence list <optional commands that match this to list>
Example:
bme sequence list ssh
Output:
'ssh jiri@192.168.1.0' command
'ssh jiri@192.168.1.55' command
FAQs
Never use notepads or history for searching for your past commands. With BME you can bookmark your commands, search in your bookmarked commands and execute them with edit possibility before execution.
We found that bme demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.