Coverage for sparkle/CLI/save_snapshot.py: 0%
9 statements
« prev ^ index » next coverage.py v7.6.1, created at 2024-09-27 09:10 +0000
« prev ^ index » next coverage.py v7.6.1, created at 2024-09-27 09:10 +0000
1#!/usr/bin/env python3
2"""Sparkle command to save the current Sparkle platform in a .zip file."""
3import sys
5from sparkle.CLI.help import snapshot_help
6from sparkle.CLI.help import logging as sl
7import argparse
10def parser_function() -> argparse.ArgumentParser:
11 """Parser for save_snapshot."""
12 return argparse.ArgumentParser()
15if __name__ == "__main__":
16 # Log command call
17 sl.log_command(sys.argv)
18 snapshot_help.save_current_sparkle_platform()