node-together
v0.0.6
Published
CLI app for easy, one-time sharing of Node projects.
Downloads
18
Readme
node-together
CLI app for easy, one-time sharing of Node projects.
Installation
npm i -g node-together
Usage
copy
- default:
node-together copy
: selects the current directory and all sub-directories, excluding dotfiles and thenode_modules
folder, and copies thesession-id
to the clipboard - with directory and file matching:
node-together copy --include '{**,.gitignore}' --exclude '{dist/**,node_modules/**}'
: includes the.gitignore
file and excludes thedist
folder - without clipboard:
node-together copy --no-clipboard
: does not copy thesession-id
to the clipboard but instead writes it tostdout
- with your own server:
node-together copy --server ws://example.com
paste
- default:
node-together paste
: retrieves thesession-id
from the clipboard and pastes the corresponding files into the current directory - without clipboard:
node-together paste --session-id SUP3R-R4ND0M-5355l0-lD
- with your own server:
node-together paste --server ws://example.com
License
WTFPL – Do What the F*ck You Want to Public License.
Made with :heart: by @MarkTiedemann @ maju.systems.