tempit

0.1.2 • Public • Published

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 -g

Usage

View Help

tempit help

Command specific help

tempit help cp

Version

tempit -v

Start Tempit Server For Sharing

tempit start

File listing

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.

Copy files or directories

tempit cp localhost file1 file2

here 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 file2

wildcards 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 init

Add Module

tempit add module_name file1 file2 folder1 folder2

Fetch Module From A Tempit Server

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

Package Sidebar

Install

npm i tempit

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

23.8 kB

Total Files

9

Last publish

Collaborators

  • thekoushik