s3_patron 0.0.2.1 → 0.0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -1
- data/exe/s3p +5 -0
- data/lib/s3_patron/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 191d8b7f7b32590ade5e56e8325ae7b0a1090627
|
4
|
+
data.tar.gz: f907b46d785806086e0d2612d4934487f01b6eab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b4aef0f45360a1805519a72f864565dd0f30e45410148061f1e32baa312dd2b5dd741241b775ca7b57a373e35d72452e346320efed725c92186e608f9e31573
|
7
|
+
data.tar.gz: 3285955c365c261e8003b7dd841da10bc6db9d22cff40b7cfdcd571c2c6121b536c48ef75e2597ae68b69b0276885778d252c3080c134fe545d15dccddcba57c
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ S3-Patron lets you list, upload, download to and from s3 using your terminal
|
|
7
7
|
## Setup
|
8
8
|
Make sure [Ruby](https://www.ruby-lang.org/en/documentation/installation/) is installed.
|
9
9
|
|
10
|
-
|
10
|
+
Execute:
|
11
11
|
```
|
12
12
|
$ gem install s3_patron
|
13
13
|
```
|
@@ -31,6 +31,7 @@ $ s3patron help [COMMAND] # Describe Commands
|
|
31
31
|
$ s3patron list [BUCKET_NAME] [REGION(OPTIONAL)] # List objects inside bucket
|
32
32
|
$ s3patron upload [BUCKET_NAME] [FILE] [REGION(OPTIONAL)] # Upload into bucket
|
33
33
|
|
34
|
+
#You can also use s3p instead of s3patron
|
34
35
|
```
|
35
36
|
|
36
37
|
#Examples
|
@@ -47,6 +48,8 @@ $ s3patron buckets -a
|
|
47
48
|
|
48
49
|
$ s3patron buckets -l 10 #will show first 10 buckets
|
49
50
|
# You can customize number of results by passing -l flag followed by limit
|
51
|
+
|
52
|
+
#You can also use s3p instead of s3patron
|
50
53
|
```
|
51
54
|
|
52
55
|
##Create Bucket
|
@@ -59,6 +62,8 @@ $ s3patron create example_bucket
|
|
59
62
|
#Optional
|
60
63
|
# If you do not want to use the AWS REGION defined in env variables you can pass region as next argument to create
|
61
64
|
$ s3patron create example_bucket us-east-1
|
65
|
+
|
66
|
+
#You can also use s3p instead of s3patron
|
62
67
|
```
|
63
68
|
|
64
69
|
##List Objects inside the bucket
|
@@ -73,6 +78,8 @@ $ s3patron list example_bucket -a
|
|
73
78
|
|
74
79
|
$ s3patron list example_bucket -l 10 #will show first 10 buckets
|
75
80
|
# You can customize number of results by passing -l flag followed by limit
|
81
|
+
|
82
|
+
#You can also use s3p instead of s3patron
|
76
83
|
```
|
77
84
|
|
78
85
|
##Upload into a bucket
|
@@ -83,6 +90,8 @@ $ s3patron upload example_bucket example_file.txt
|
|
83
90
|
|
84
91
|
#Optional
|
85
92
|
# If you do not want to use the AWS REGION defined in env variables you can pass region as next argument
|
93
|
+
|
94
|
+
#You can also use s3p instead of s3patron
|
86
95
|
```
|
87
96
|
|
88
97
|
##Download object from bucket
|
@@ -93,6 +102,8 @@ $ s3patron download example_bucket example_file.txt
|
|
93
102
|
|
94
103
|
#Optional
|
95
104
|
# If you do not want to use the AWS REGION defined in env variables you can pass region as next argument
|
105
|
+
|
106
|
+
#You can also use s3p instead of s3patron
|
96
107
|
```
|
97
108
|
|
98
109
|
|
data/exe/s3p
ADDED
data/lib/s3_patron/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: s3_patron
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.2.
|
4
|
+
version: 0.0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Suyesh Bhandari
|
@@ -104,6 +104,7 @@ description: Command-line utility to manage S3
|
|
104
104
|
email:
|
105
105
|
- suyeshb@gmail.com
|
106
106
|
executables:
|
107
|
+
- s3p
|
107
108
|
- s3patron
|
108
109
|
extensions: []
|
109
110
|
extra_rdoc_files: []
|
@@ -116,6 +117,7 @@ files:
|
|
116
117
|
- Rakefile
|
117
118
|
- bin/console
|
118
119
|
- bin/setup
|
120
|
+
- exe/s3p
|
119
121
|
- exe/s3patron
|
120
122
|
- lib/s3_patron.rb
|
121
123
|
- lib/s3_patron/cli.rb
|