From 0abf9c0693e9c6210c3ffbb7fb8126b3a0579cb0 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Mon, 15 Jul 2024 12:12:38 +0900 Subject: [PATCH] update readme --- README.md | 5 ++++- tests/cli.rs | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c626656..8dd916f 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,9 @@ _Cross device backup manager_, which manages backups on several storages mounted on multiple devices with a single repository. +## Install +- `git` is required for sync + ## Usage 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. @@ -24,7 +27,7 @@ which manages backups on several storages mounted on multiple devices with a sin - [ ] write test for storage subcommand - [x] storage add online - [x] storage add directory - - [ ] storage list + - [x] storage list - [x] update storage bind command - [ ] add storage remove command - [ ] add sync subcommand diff --git a/tests/cli.rs b/tests/cli.rs index ae5bd81..4dd4fe6 100644 --- a/tests/cli.rs +++ b/tests/cli.rs @@ -5,7 +5,7 @@ mod integrated_test { }; use anyhow::{Context, Ok, Result}; - use assert_cmd::{assert::OutputAssertExt, cargo::CommandCargoExt, Command}; + use assert_cmd::{assert::OutputAssertExt, Command}; use dirs::home_dir; use git2::Repository; use log::trace;