Skip to content

Command-line tool for efficient and rapid access, preview, and use of template files.

License

Notifications You must be signed in to change notification settings

SamZhang02/tempvault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tempvault

asciicast

tempvault is a command line tool based on fzf to quickly access, preview and paste template files, such as your project configuration files, latex templates, or starter code files.

Warning

This tool is a currently a work in progress with many breaking changes and have little documentation for now.

Installation

If you would like to build tempvault from scratch, you need Go. You can build a binary using

go build -o tempvault

and put the binary in your PATH.

I also have included an installation script to run build and setups for the tool to work right away, simply run

sh install.sh

Disclaimer: I personally use MacOS, the script may not work well for all other OS.

For now, there are not ready-to-use binaries yet.

Usage

tempvault currently support two commands:

tempvault add [file] adds a files to the vault.

tempvault browse browses and searches the vault, allowing you to select files to paste into the cwd.

With enough interest, I am open to look into refining the tool with more functionalities and customizability.

Personally, I use the alias below

alias tv="tempvault"
alias tva="tempvault add"
alias tvb="tempvault browse"

for a fast workflow with the tool.

Contributing

All contributions are welcome in the form of issues or pull request.

The build system uses simple scripts in the justfile, and the code mainly follows the cobra structure.

About

Command-line tool for efficient and rapid access, preview, and use of template files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published