update readme

This commit is contained in:
qwjyh 2024-07-15 12:12:38 +09:00
parent 6e1619aa18
commit 0abf9c0693
2 changed files with 5 additions and 2 deletions

View file

@ -2,6 +2,9 @@
_Cross device backup manager_, _Cross device backup manager_,
which manages backups on several storages mounted on multiple devices with a single repository. which manages backups on several storages mounted on multiple devices with a single repository.
## Install
- `git` is required for sync
## Usage ## Usage
1. `xdbm init` to setup new device(i.e. PC). 1. `xdbm init` to setup new device(i.e. PC).
2. `xdbm storage add` to add storages, or `xdbm storage bind` to make existing storages available on new device. 2. `xdbm storage add` to add storages, or `xdbm storage bind` to make existing storages available on new device.
@ -24,7 +27,7 @@ which manages backups on several storages mounted on multiple devices with a sin
- [ ] write test for storage subcommand - [ ] write test for storage subcommand
- [x] storage add online - [x] storage add online
- [x] storage add directory - [x] storage add directory
- [ ] storage list - [x] storage list
- [x] update storage bind command - [x] update storage bind command
- [ ] add storage remove command - [ ] add storage remove command
- [ ] add sync subcommand - [ ] add sync subcommand

View file

@ -5,7 +5,7 @@ mod integrated_test {
}; };
use anyhow::{Context, Ok, Result}; use anyhow::{Context, Ok, Result};
use assert_cmd::{assert::OutputAssertExt, cargo::CommandCargoExt, Command}; use assert_cmd::{assert::OutputAssertExt, Command};
use dirs::home_dir; use dirs::home_dir;
use git2::Repository; use git2::Repository;
use log::trace; use log::trace;