0.1.2 • Published 7 years ago
tempit v0.1.2
tempit
Easy module/file distribution tool for any project
Prerequisites
The only thing needed is Node.js to be installed in your system.
Installing
Installing tempit is easy, just run the following command
npm install tempit -gUsage
View Help
tempit helpCommand specific help
tempit help cpVersion
tempit -vStart Tempit Server For Sharing
tempit startFile listing
tempit ls localhost directory_nameYou can use the ip address of tempit server instead of localhost. If directory_name is not specified, current directory of tempit server is assumed.
Copy files or directories
tempit cp localhost file1 file2here path can be filename or directory(relative to the current directory of tempit server)
Copy all except specified files or directories
tempit cp localhost -e file1 file2wildcards can be used like
tempit cp localhost -e file1 folder1/file2 folder2*Initialize directory (for module sharing)
This will create a .tempit file in the current directory. The tempit file is basically a JSON file.
tempit initAdd Module
tempit add module_name file1 file2 folder1 folder2Fetch Module From A Tempit Server
To fetch from localhost,
tempit fetch localhost module_nameTo fetch all modules, just run
tempit fetch localhostNote: While fetching, .git folder in current directory and all entries in .gitignore will be ignored