Skip to content

metafates/nt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

nt

Minimal cli snippet manager inspired by boom

Usage

USAGE:
    nt <SUBCOMMAND>

OPTIONS:
    -h, --help       Print help information
    -V, --version    Print version information

SUBCOMMANDS:
    get       Get a record
    help      Print this message or the help of the given subcommand(s)
    list      List all records
    remove    Remove a record
    set       Set a new record

Example

$ nt set magic 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'
'magic' set to 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'

# if no value is given, the value is read from the clipboard
$ nt set num
'num' set to contents from the clipboard

$ nt get num
1

$ nt get num --copy
copied to clipboard

$ nt remove num # or `nt rm`
'num' removed

$ nt list # or `nt ls`
'magic' - 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'

'greeting' - 'hello!'

Data is stored in the default config directory under nt folder.

About

๐Ÿ““ Simple cli snippet manager

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages