efs-cli 1.0.0__tar.gz → 1.0.1__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.0
3
+ Version: 1.0.1
4
4
  Summary: EepyFileServer API CLI written in Python
5
5
  Author: maxie
6
6
  License-Expression: MIT
@@ -20,7 +20,7 @@ Requires-Dist: requests>=2.30
20
20
  Requires-Dist: efs-wrapper
21
21
  Dynamic: license-file
22
22
 
23
- # eepyfileserver-cli
23
+ # efs-cli (formerly eepyfileserver-cli)
24
24
 
25
25
  command line interface for eepyfileserver written in python
26
26
 
@@ -40,41 +40,56 @@ command line interface for eepyfileserver written in python
40
40
  ```bash
41
41
  #login fully (lets you upload and download files)
42
42
  #password is saved in PLAIN TEXT
43
- python3 eepyfileserver.py instance "https://example.com" "password123"
43
+ efs-cli auth "https://example.com" "password123"
44
44
 
45
45
  #login only using the url (lets you download PUBLIC files)
46
- python3 eepyfileserver.py instance "https://example.com"
46
+ efs-cli auth "https://example.com"
47
47
 
48
- python3 eepyfileserver.py login ...
48
+ efs-cli login ...
49
+ ```
50
+
51
+ ### view version
52
+
53
+ ```bash
54
+ efs-cli version
55
+ efs-cli ver
49
56
  ```
50
57
 
51
58
  ### list files
52
59
 
53
60
  ```bash
54
- python3 eepyfileserver.py list
55
- python3 eepyfileserver.py ls
61
+ efs-cli list
62
+ efs-cli ls
63
+ efs-cli files
56
64
  ```
57
65
 
58
66
  ### download a file
59
67
 
60
68
  ```bash
61
- python3 eepyfileserver.py download /example.txt /home/maxeepy/Downloads/example.txt
62
- python3 eepyfileserver.py get ...
63
- python3 eepyfileserver.py d ...
69
+ efs-cli download /example.txt /home/maxeepy/Downloads/example.txt
70
+ efs-cli get ...
71
+ efs-cli d ...
64
72
  ```
65
73
 
66
74
  ### upload a file
67
75
 
68
76
  ```bash
69
- python3 eepyfileserver.py upload /home/maxeepy/Downloads/example.txt /example.txt
70
- python3 eepyfileserver.py post ...
71
- python3 eepyfileserver.py up ...
77
+ efs-cli upload /home/maxeepy/Downloads/example.txt /example.txt
78
+ efs-cli post ...
79
+ efs-cli up ...
80
+ efs-cli put ...
72
81
  ```
73
82
 
74
83
  ### delete a file
75
84
 
76
85
  ```bash
77
- python3 eepyfileserver.py delete /example.txt
78
- python3 eepyfileserver.py remove ...
79
- python3 eepyfileserver.py rm ...
86
+ efs-cli delete /example.txt
87
+ efs-cli remove ...
88
+ efs-cli rm ...
89
+ ```
90
+
91
+ ### read a file
92
+
93
+ ```bash
94
+ efs-cli read /example.txt
80
95
  ```
@@ -0,0 +1,73 @@
1
+ # efs-cli (formerly eepyfileserver-cli)
2
+
3
+ command line interface for eepyfileserver written in python
4
+
5
+ ## prerequisites
6
+
7
+ - python 3.10 (3.12+ required)
8
+ - [`eepyfileserver`](https://codeberg.org/maxeepy/eepyfileserver) 1.1.0-alpha or later
9
+
10
+ ## install
11
+
12
+ `pip install efs-cli`
13
+
14
+ ## usage
15
+
16
+ ### log in to an instance
17
+
18
+ ```bash
19
+ #login fully (lets you upload and download files)
20
+ #password is saved in PLAIN TEXT
21
+ efs-cli auth "https://example.com" "password123"
22
+
23
+ #login only using the url (lets you download PUBLIC files)
24
+ efs-cli auth "https://example.com"
25
+
26
+ efs-cli login ...
27
+ ```
28
+
29
+ ### view version
30
+
31
+ ```bash
32
+ efs-cli version
33
+ efs-cli ver
34
+ ```
35
+
36
+ ### list files
37
+
38
+ ```bash
39
+ efs-cli list
40
+ efs-cli ls
41
+ efs-cli files
42
+ ```
43
+
44
+ ### download a file
45
+
46
+ ```bash
47
+ efs-cli download /example.txt /home/maxeepy/Downloads/example.txt
48
+ efs-cli get ...
49
+ efs-cli d ...
50
+ ```
51
+
52
+ ### upload a file
53
+
54
+ ```bash
55
+ efs-cli upload /home/maxeepy/Downloads/example.txt /example.txt
56
+ efs-cli post ...
57
+ efs-cli up ...
58
+ efs-cli put ...
59
+ ```
60
+
61
+ ### delete a file
62
+
63
+ ```bash
64
+ efs-cli delete /example.txt
65
+ efs-cli remove ...
66
+ efs-cli rm ...
67
+ ```
68
+
69
+ ### read a file
70
+
71
+ ```bash
72
+ efs-cli read /example.txt
73
+ ```
@@ -0,0 +1,2 @@
1
+ __version__ = "1.0.1"
2
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: efs-cli
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: EepyFileServer API CLI written in Python
5
5
  Author: maxie
6
6
  License-Expression: MIT
@@ -20,7 +20,7 @@ Requires-Dist: requests>=2.30
20
20
  Requires-Dist: efs-wrapper
21
21
  Dynamic: license-file
22
22
 
23
- # eepyfileserver-cli
23
+ # efs-cli (formerly eepyfileserver-cli)
24
24
 
25
25
  command line interface for eepyfileserver written in python
26
26
 
@@ -40,41 +40,56 @@ command line interface for eepyfileserver written in python
40
40
  ```bash
41
41
  #login fully (lets you upload and download files)
42
42
  #password is saved in PLAIN TEXT
43
- python3 eepyfileserver.py instance "https://example.com" "password123"
43
+ efs-cli auth "https://example.com" "password123"
44
44
 
45
45
  #login only using the url (lets you download PUBLIC files)
46
- python3 eepyfileserver.py instance "https://example.com"
46
+ efs-cli auth "https://example.com"
47
47
 
48
- python3 eepyfileserver.py login ...
48
+ efs-cli login ...
49
+ ```
50
+
51
+ ### view version
52
+
53
+ ```bash
54
+ efs-cli version
55
+ efs-cli ver
49
56
  ```
50
57
 
51
58
  ### list files
52
59
 
53
60
  ```bash
54
- python3 eepyfileserver.py list
55
- python3 eepyfileserver.py ls
61
+ efs-cli list
62
+ efs-cli ls
63
+ efs-cli files
56
64
  ```
57
65
 
58
66
  ### download a file
59
67
 
60
68
  ```bash
61
- python3 eepyfileserver.py download /example.txt /home/maxeepy/Downloads/example.txt
62
- python3 eepyfileserver.py get ...
63
- python3 eepyfileserver.py d ...
69
+ efs-cli download /example.txt /home/maxeepy/Downloads/example.txt
70
+ efs-cli get ...
71
+ efs-cli d ...
64
72
  ```
65
73
 
66
74
  ### upload a file
67
75
 
68
76
  ```bash
69
- python3 eepyfileserver.py upload /home/maxeepy/Downloads/example.txt /example.txt
70
- python3 eepyfileserver.py post ...
71
- python3 eepyfileserver.py up ...
77
+ efs-cli upload /home/maxeepy/Downloads/example.txt /example.txt
78
+ efs-cli post ...
79
+ efs-cli up ...
80
+ efs-cli put ...
72
81
  ```
73
82
 
74
83
  ### delete a file
75
84
 
76
85
  ```bash
77
- python3 eepyfileserver.py delete /example.txt
78
- python3 eepyfileserver.py remove ...
79
- python3 eepyfileserver.py rm ...
86
+ efs-cli delete /example.txt
87
+ efs-cli remove ...
88
+ efs-cli rm ...
89
+ ```
90
+
91
+ ### read a file
92
+
93
+ ```bash
94
+ efs-cli read /example.txt
80
95
  ```
efs_cli-1.0.0/README.md DELETED
@@ -1,58 +0,0 @@
1
- # eepyfileserver-cli
2
-
3
- command line interface for eepyfileserver written in python
4
-
5
- ## prerequisites
6
-
7
- - python 3.10 (3.12+ required)
8
- - [`eepyfileserver`](https://codeberg.org/maxeepy/eepyfileserver) 1.1.0-alpha or later
9
-
10
- ## install
11
-
12
- `pip install efs-cli`
13
-
14
- ## usage
15
-
16
- ### log in to an instance
17
-
18
- ```bash
19
- #login fully (lets you upload and download files)
20
- #password is saved in PLAIN TEXT
21
- python3 eepyfileserver.py instance "https://example.com" "password123"
22
-
23
- #login only using the url (lets you download PUBLIC files)
24
- python3 eepyfileserver.py instance "https://example.com"
25
-
26
- python3 eepyfileserver.py login ...
27
- ```
28
-
29
- ### list files
30
-
31
- ```bash
32
- python3 eepyfileserver.py list
33
- python3 eepyfileserver.py ls
34
- ```
35
-
36
- ### download a file
37
-
38
- ```bash
39
- python3 eepyfileserver.py download /example.txt /home/maxeepy/Downloads/example.txt
40
- python3 eepyfileserver.py get ...
41
- python3 eepyfileserver.py d ...
42
- ```
43
-
44
- ### upload a file
45
-
46
- ```bash
47
- python3 eepyfileserver.py upload /home/maxeepy/Downloads/example.txt /example.txt
48
- python3 eepyfileserver.py post ...
49
- python3 eepyfileserver.py up ...
50
- ```
51
-
52
- ### delete a file
53
-
54
- ```bash
55
- python3 eepyfileserver.py delete /example.txt
56
- python3 eepyfileserver.py remove ...
57
- python3 eepyfileserver.py rm ...
58
- ```
@@ -1,2 +0,0 @@
1
- __version__ = "1.0.0"
2
-
File without changes
File without changes
File without changes
File without changes