efs-cli 1.1.1__tar.gz → 1.1.2__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.1.1 → efs_cli-1.1.2}/PKG-INFO +2 -2
- {efs_cli-1.1.1 → efs_cli-1.1.2}/pyproject.toml +2 -2
- efs_cli-1.1.2/src/efs_cli/__init__.py +2 -0
- {efs_cli-1.1.1 → efs_cli-1.1.2}/src/efs_cli/cli.py +3 -2
- {efs_cli-1.1.1 → efs_cli-1.1.2}/src/efs_cli.egg-info/PKG-INFO +2 -2
- efs_cli-1.1.2/src/efs_cli.egg-info/requires.txt +2 -0
- efs_cli-1.1.1/src/efs_cli/__init__.py +0 -2
- efs_cli-1.1.1/src/efs_cli.egg-info/requires.txt +0 -2
- {efs_cli-1.1.1 → efs_cli-1.1.2}/LICENSE +0 -0
- {efs_cli-1.1.1 → efs_cli-1.1.2}/README.md +0 -0
- {efs_cli-1.1.1 → efs_cli-1.1.2}/setup.cfg +0 -0
- {efs_cli-1.1.1 → efs_cli-1.1.2}/src/efs_cli.egg-info/SOURCES.txt +0 -0
- {efs_cli-1.1.1 → efs_cli-1.1.2}/src/efs_cli.egg-info/dependency_links.txt +0 -0
- {efs_cli-1.1.1 → efs_cli-1.1.2}/src/efs_cli.egg-info/entry_points.txt +0 -0
- {efs_cli-1.1.1 → efs_cli-1.1.2}/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.1.
|
|
3
|
+
Version: 1.1.2
|
|
4
4
|
Summary: EepyFileServer API CLI written in Python
|
|
5
5
|
Author: maxie
|
|
6
6
|
License-Expression: MIT
|
|
@@ -17,7 +17,7 @@ Requires-Python: >=3.10
|
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
19
19
|
Requires-Dist: requests>=2.30
|
|
20
|
-
Requires-Dist: efs-wrapper>=1.0.
|
|
20
|
+
Requires-Dist: efs-wrapper>=1.0.6
|
|
21
21
|
Dynamic: license-file
|
|
22
22
|
|
|
23
23
|
# efs-cli (formerly eepyfileserver-cli)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["setuptools >= 77.0.3", "requests >= 2.30", "efs-wrapper >= 1.0.
|
|
2
|
+
requires = ["setuptools >= 77.0.3", "requests >= 2.30", "efs-wrapper >= 1.0.6"]
|
|
3
3
|
build-backend = "setuptools.build_meta"
|
|
4
4
|
|
|
5
5
|
[project]
|
|
@@ -12,7 +12,7 @@ readme = "README.md"
|
|
|
12
12
|
requires-python = ">=3.10"
|
|
13
13
|
dependencies = [
|
|
14
14
|
"requests >= 2.30",
|
|
15
|
-
"efs-wrapper >= 1.0.
|
|
15
|
+
"efs-wrapper >= 1.0.6"
|
|
16
16
|
]
|
|
17
17
|
classifiers = [
|
|
18
18
|
"Programming Language :: Python :: 3",
|
|
@@ -163,9 +163,9 @@ def upload(from_path, to_path, **__):
|
|
|
163
163
|
sys.exit(1)
|
|
164
164
|
|
|
165
165
|
@exception_handler
|
|
166
|
-
def list_files(**__):
|
|
166
|
+
def list_files(path, **__):
|
|
167
167
|
api = init_api()
|
|
168
|
-
print(api.get_filelist())
|
|
168
|
+
print(api.get_filelist(path))
|
|
169
169
|
|
|
170
170
|
@exception_handler
|
|
171
171
|
def remove(file_path, **__):
|
|
@@ -275,6 +275,7 @@ def main():
|
|
|
275
275
|
metadata_parser.set_defaults(func=metadata)
|
|
276
276
|
|
|
277
277
|
list_files_parser = subparser.add_parser("list", help="list current files on efs", aliases=["ls", "files"])
|
|
278
|
+
list_files_parser.add_argument("path", nargs="?", help="the efs path to list files from", default=None)
|
|
278
279
|
list_files_parser.set_defaults(func=list_files)
|
|
279
280
|
|
|
280
281
|
remove_parser = subparser.add_parser("delete", help="delete a file", aliases=["remove", "rm"])
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: efs-cli
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.2
|
|
4
4
|
Summary: EepyFileServer API CLI written in Python
|
|
5
5
|
Author: maxie
|
|
6
6
|
License-Expression: MIT
|
|
@@ -17,7 +17,7 @@ Requires-Python: >=3.10
|
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
License-File: LICENSE
|
|
19
19
|
Requires-Dist: requests>=2.30
|
|
20
|
-
Requires-Dist: efs-wrapper>=1.0.
|
|
20
|
+
Requires-Dist: efs-wrapper>=1.0.6
|
|
21
21
|
Dynamic: license-file
|
|
22
22
|
|
|
23
23
|
# efs-cli (formerly eepyfileserver-cli)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|