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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: efs-cli
3
- Version: 1.0.4
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+ required)
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
@@ -4,7 +4,7 @@ command line interface for eepyfileserver written in python
4
4
 
5
5
  ## prerequisites
6
6
 
7
- - python 3.10 (3.12+ required)
7
+ - python 3.10 (3.12+ recommended)
8
8
  - [`eepyfileserver`](https://codeberg.org/maxeepy/eepyfileserver) 1.1.0-alpha or later
9
9
 
10
10
  ## install
@@ -0,0 +1,2 @@
1
+ __version__ = "1.0.5"
2
+
@@ -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.4
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+ required)
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,2 +0,0 @@
1
- __version__ = "1.0.4"
2
-
File without changes
File without changes
File without changes