mkpfs 0.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
mkpfs/__init__.py ADDED
@@ -0,0 +1,4 @@
1
+ """MKPFS package root.
2
+
3
+ MkPFS is a toolkit for building, verifying, browsing, and managing PlayStation PFS images.
4
+ """
mkpfs/__main__.py ADDED
@@ -0,0 +1,21 @@
1
+ """MKPFS CLI main() hook."""
2
+
3
+ from mkpfs.cli import cli_mkpfs_main
4
+
5
+
6
+ def main(argv: list[str] | None = None) -> int:
7
+ """Entrypoint for ``python -m mkpfs``.
8
+
9
+ Args:
10
+ argv: Optional argument vector. When omitted, sys.argv is used by
11
+ the argument parser.
12
+
13
+ Returns:
14
+ The integer exit code from the CLI handler.
15
+ """
16
+ return cli_mkpfs_main(argv)
17
+
18
+
19
+ # When executed as a script, run the main entrypoint.
20
+ if __name__ == "__main__":
21
+ raise SystemExit(main())