efs-cli 1.0.4__tar.gz → 1.0.5__tar.gz
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.
- {efs_cli-1.0.4 → efs_cli-1.0.5}/PKG-INFO +2 -2
- {efs_cli-1.0.4 → efs_cli-1.0.5}/README.md +1 -1
- efs_cli-1.0.5/src/efs_cli/__init__.py +2 -0
- {efs_cli-1.0.4 → efs_cli-1.0.5}/src/efs_cli/cli.py +4 -1
- {efs_cli-1.0.4 → efs_cli-1.0.5}/src/efs_cli.egg-info/PKG-INFO +2 -2
- efs_cli-1.0.4/src/efs_cli/__init__.py +0 -2
- {efs_cli-1.0.4 → efs_cli-1.0.5}/LICENSE +0 -0
- {efs_cli-1.0.4 → efs_cli-1.0.5}/pyproject.toml +0 -0
- {efs_cli-1.0.4 → efs_cli-1.0.5}/setup.cfg +0 -0
- {efs_cli-1.0.4 → efs_cli-1.0.5}/src/efs_cli.egg-info/SOURCES.txt +0 -0
- {efs_cli-1.0.4 → efs_cli-1.0.5}/src/efs_cli.egg-info/dependency_links.txt +0 -0
- {efs_cli-1.0.4 → efs_cli-1.0.5}/src/efs_cli.egg-info/entry_points.txt +0 -0
- {efs_cli-1.0.4 → efs_cli-1.0.5}/src/efs_cli.egg-info/requires.txt +0 -0
- {efs_cli-1.0.4 → efs_cli-1.0.5}/src/efs_cli.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: efs-cli
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.5
|
|
4
4
|
Summary: EepyFileServer API CLI written in Python
|
|
5
5
|
Author: maxie
|
|
6
6
|
License-Expression: MIT
|
|
@@ -26,7 +26,7 @@ command line interface for eepyfileserver written in python
|
|
|
26
26
|
|
|
27
27
|
## prerequisites
|
|
28
28
|
|
|
29
|
-
- python 3.10 (3.12+
|
|
29
|
+
- python 3.10 (3.12+ recommended)
|
|
30
30
|
- [`eepyfileserver`](https://codeberg.org/maxeepy/eepyfileserver) 1.1.0-alpha or later
|
|
31
31
|
|
|
32
32
|
## install
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from . import __version__ as version
|
|
2
2
|
from efs_wrapper import __version__ as wrapper_version
|
|
3
3
|
from efs_wrapper.v1 import EepyFileServer, EepyFileServerPublic, DiskUsageObject
|
|
4
|
-
from argparse import ArgumentParser
|
|
4
|
+
from argparse import ArgumentParser, Namespace
|
|
5
5
|
import os
|
|
6
6
|
import json
|
|
7
7
|
import sys
|
|
@@ -127,6 +127,9 @@ def main():
|
|
|
127
127
|
instance_parser.set_defaults(func=instance)
|
|
128
128
|
|
|
129
129
|
args = parser.parse_args()
|
|
130
|
+
if args == Namespace():
|
|
131
|
+
args = parser.parse_args(["-h"])
|
|
132
|
+
|
|
130
133
|
args.func(**vars(args))
|
|
131
134
|
|
|
132
135
|
if __name__ == "__main__":
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: efs-cli
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.5
|
|
4
4
|
Summary: EepyFileServer API CLI written in Python
|
|
5
5
|
Author: maxie
|
|
6
6
|
License-Expression: MIT
|
|
@@ -26,7 +26,7 @@ command line interface for eepyfileserver written in python
|
|
|
26
26
|
|
|
27
27
|
## prerequisites
|
|
28
28
|
|
|
29
|
-
- python 3.10 (3.12+
|
|
29
|
+
- python 3.10 (3.12+ recommended)
|
|
30
30
|
- [`eepyfileserver`](https://codeberg.org/maxeepy/eepyfileserver) 1.1.0-alpha or later
|
|
31
31
|
|
|
32
32
|
## install
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|