mirror of
https://codeberg.org/demostf/backup.git
synced 2026-06-03 09:54:18 +02:00
flake reorg
This commit is contained in:
parent
9b0e4aff85
commit
a603ec8cfa
9 changed files with 666 additions and 451 deletions
|
|
@ -26,7 +26,7 @@ pub enum Error {
|
|||
async fn main() -> Result<(), MainError> {
|
||||
tracing_subscriber::fmt::init();
|
||||
|
||||
let mut args: HashMap<_, _> = dotenv::vars().collect();
|
||||
let mut args: HashMap<_, _> = dotenvy::vars().collect();
|
||||
let store = Store::new(args.get("STORAGE_ROOT").expect("no STORAGE_ROOT set"));
|
||||
let state_path = PathBuf::from(args.remove("STATE_FILE").expect("no STATE_FILE set"));
|
||||
let backup = Backup::new(store);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue