Cargo Backup

Backup your installed cargo packages

installation

sh cargo install cargo-backup

Usage

Backup

sh cargo backup <args>

Arguments

Restore

sh cargo restore --backup path/to/backup <args>

Arguments

Sync

Requires a Github account. sh cargo sync <sub-command> <args>

Login

sh cargo sync login <args>

Arguments

Push

Either push a new backup or Updates the old one. sh cargo sync push <args>

Pull

Pulls the backup from the gist repository. A valid gist id needs to be set for this. sh cargo sync pull <args>

Arguments

set-id

sh cargo sync set-id <gist-id>

License

MIT