1.2.0 • Published 8 months ago
@simondmc/backup v1.2.0
Backup
A simple command line tool to backup your files using git or zip
Installation
Install the tool globally using npm:
npm i -g @simondmc/backup
Usage
Git Backup
To backup up files using git, make sure you have a git repository, then run backup
or backup <commit message>
in a terminal.
Zip Backup
To backup a folder using zip, navigate to inside that folder, open the terminal and run backup -z
or backup --zip
.
Repository Creation
To initialize a git repository (and immediately push it), run backup -i <remote url>
or backup -i <remote url> <commit message>
in a terminal.