changed default tag
This commit is contained in:
@@ -56,7 +56,7 @@ def run(backup_dir: Path, loki_url: str = None, tag: str = 'python-script'):
|
|||||||
)
|
)
|
||||||
@click.option('--loki-url', type=str, help='Loki URL for logging', envvar='LOKI_URL')
|
@click.option('--loki-url', type=str, help='Loki URL for logging', envvar='LOKI_URL')
|
||||||
@click.option('--tag', type=str, help='Tag to use in restic')
|
@click.option('--tag', type=str, help='Tag to use in restic')
|
||||||
def main(backup_dir: Path, loki_url: str = None, tag: str = None):
|
def main(backup_dir: Path, loki_url: str = None, tag: str = 'python-script'):
|
||||||
console = Console()
|
console = Console()
|
||||||
|
|
||||||
logging.basicConfig(
|
logging.basicConfig(
|
||||||
|
|||||||
Reference in New Issue
Block a user