multitool

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 1 Imported by: 0

README

multitool

A (currently very small) collection of utility commands with rich features:

  • Timestamped history
  • Clipboard integration

Installation

Requirements
  • go 1.19+, gcc, Cgo
  • Linux: X11 dev package, e.g. libx11-dev, xorg-dev or libX11-devel.
go install github.com/jbchouinard/multitool@latest

Commands

uuid
multitool uuid [--v4]

Generate a UUID (default: V1).

set
multitool set <key> <value>

Set an option value.

Key Values Default Details
clipboard yes/no no Enable clipboard integration.
history yes/no yes Save history.
unset
multitool unset <key>

Unset an option value.

get
multitool get <key>

Show the current value of an option.

history
multitool history <command>

Show history for a command.

purge
multitool purge [--keep-days n]

Purge history, keeping n days (default: 7);

Files

multitool tries to stores its files in <HOME>/.multitool. If that fails, it tries <CURRENTDIR>/.multitool.

The location can be changed by setting the MULTITOOL_DIR environment variable.

License

Copyright 2022 Jerome Boisvert-Chouinard, under MIT License.

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