nb

command module
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2024 License: MIT Imports: 5 Imported by: 0

README

NB Terminal assistant

🔪 My terminal assistant, enhanced git, ssh, scp ... commands.

Installation

Config file example ./nb.yaml, put it to ~/.config/nb.yaml.

go install github.com/naiba/nb@latest
nb # prepare config file to config path

Usage

# Print banner, can append to .profile/.zshrc
nb print-banner

# Cloudflate Batch DNS Record Management GUI
nb cloudflare

# Load alias etc. can append to .profile/.zshrc
source <(/path-to-go/bin/nb print-snippet profile)

# Connecting to SSH server via socks proxy
nb -p rpi-socks -ss github ssh

# Copy remote files via socks proxy
nb -p rpi-socks -ss github scp -v -r ./nb.yaml remote:/

# Specify an account to perform git operations
# This commit will be signed by naiba even if you are in the git repo of another account.
nb -gu naiba git commit -a -m "test"

# Solidity crete2 vanity address
nb solidity create2vanity -p 0xb300000 -d 0x13b0D85CcB8......CA081AE9beF2 --sp com.example. \
    --cb 0x60806001600160401b03601f6......dccf7284c10517a35c6 \
    --ca address:0xEe7b429Ea01......D4e95D5D24AE8 --ca address:0x57FE1CB49......d821e5e95

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL