Easy module/file distribution tool for any project
The only thing needed is Node.js to be installed in your system.
Installing tempit is easy, just run the following command
npm install tempit -g
tempit help
Command specific help
tempit help cp
tempit -v
tempit start
tempit ls localhost directory_name
You can use the ip address of tempit server instead of localhost. If directory_name is not specified, current directory of tempit server is assumed.
tempit cp localhost file1 file2
here path can be filename or directory(relative to the current directory of tempit server)
If no file path is specified, all files(except ignorable files) will be considered like following:
tempit cp localhost
tempit cp localhost -e file1 file2
wildcards can be used like
tempit cp localhost -e file1 folder1/file2 folder2*
This will create a .tempit file in the current directory. The tempit file is basically a JSON file.
tempit init
tempit add module_name file1 file2 folder1 folder2
To fetch from localhost,
tempit fetch localhost module_name
To fetch all modules, just run
tempit fetch localhost
Note: While fetching, .git folder in current directory and all entries in .gitignore will be ignored