From eee7f47d8b3c685d0f8ba0ad79fad5afd8d719f6 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 4 Jun 2017 16:52:27 +0200 Subject: Build README from script instead of main package Signed-off-by: Florian Pritz --- META.json | 4 +-- README.md | 89 +++++++++++++++++++++++++++++++++++++------------- lib/App/BorgRestore.pm | 2 +- minil.toml | 1 + script/borg-restore.pl | 3 ++ 5 files changed, 73 insertions(+), 26 deletions(-) diff --git a/META.json b/META.json index a86006d..2dcfdb3 100644 --- a/META.json +++ b/META.json @@ -4,7 +4,7 @@ "-2017 Florian Pritz " ], "dynamic_config" : 0, - "generated_by" : "Minilla/v3.0.10, CPAN::Meta::Converter version 2.150005", + "generated_by" : "Minilla/v3.0.10, CPAN::Meta::Converter version 2.150010", "license" : [ "gpl_3" ], @@ -63,5 +63,5 @@ }, "release_status" : "unstable", "version" : "2.0.0", - "x_serialization_backend" : "JSON::PP version 2.27300_01" + "x_serialization_backend" : "JSON::PP version 2.27400_02" } diff --git a/README.md b/README.md index adac73b..c3a43c3 100644 --- a/README.md +++ b/README.md @@ -1,36 +1,83 @@ # NAME -App::BorgRestore - Restore paths from borg backups +borg-restore.pl - Restore paths from borg backups # SYNOPSIS - use App::BorgRestore; +borg-restore.pl \[options\] <path> - my $app = App::BorgRestore->new(); + Options: + --help, -h short help message + --debug show debug messages + --update-cache, -u update cache files + --destination, -d Restore backup to directory + --time, -t Automatically find newest backup that is at least +