Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
538fe24621 | ||
|
|
ceed4339a8 |
@@ -1,6 +1,10 @@
|
|||||||
CHANGELOG
|
CHANGELOG
|
||||||
=========
|
=========
|
||||||
|
|
||||||
|
## 2.0.1 - *10/2/2017*
|
||||||
|
|
||||||
|
- Small optimization, removed unneeded function `cryptr_info()`.
|
||||||
|
|
||||||
## 2.0.0 - *10/2/2017*
|
## 2.0.0 - *10/2/2017*
|
||||||
|
|
||||||
*BREAKING CHANGE*
|
*BREAKING CHANGE*
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ Usage: cryptr command <command-specific-options>
|
|||||||
|
|
||||||
```
|
```
|
||||||
➜ cryptr version
|
➜ cryptr version
|
||||||
cryptr 2.0.0
|
cryptr 2.0.1
|
||||||
```
|
```
|
||||||
|
|
||||||
### default
|
### default
|
||||||
@@ -78,7 +78,7 @@ cryptr 2.0.0
|
|||||||
|
|
||||||
```
|
```
|
||||||
➜ cryptr
|
➜ cryptr
|
||||||
cryptr 2.0.0
|
cryptr 2.0.1
|
||||||
|
|
||||||
Usage: cryptr command <command-specific-options>
|
Usage: cryptr command <command-specific-options>
|
||||||
|
|
||||||
|
|||||||
10
cryptr.bash
10
cryptr.bash
@@ -18,18 +18,13 @@
|
|||||||
|
|
||||||
set -eo pipefail; [[ $TRACE ]] && set -x
|
set -eo pipefail; [[ $TRACE ]] && set -x
|
||||||
|
|
||||||
readonly VERSION="2.0.0"
|
readonly VERSION="2.0.1"
|
||||||
readonly OPENSSL_CIPHER="aes-256-cbc"
|
readonly OPENSSL_CIPHER="aes-256-cbc"
|
||||||
|
|
||||||
cryptr_version() {
|
cryptr_version() {
|
||||||
echo "cryptr $VERSION"
|
echo "cryptr $VERSION"
|
||||||
}
|
}
|
||||||
|
|
||||||
cryptr_info() {
|
|
||||||
cryptr_version
|
|
||||||
echo
|
|
||||||
}
|
|
||||||
|
|
||||||
cryptr_help() {
|
cryptr_help() {
|
||||||
echo "Usage: cryptr command <command-specific-options>"
|
echo "Usage: cryptr command <command-specific-options>"
|
||||||
echo
|
echo
|
||||||
@@ -66,7 +61,8 @@ cryptr_main() {
|
|||||||
local _command="$1"
|
local _command="$1"
|
||||||
|
|
||||||
if [[ -z $_command ]]; then
|
if [[ -z $_command ]]; then
|
||||||
cryptr_info
|
cryptr_version
|
||||||
|
echo
|
||||||
cryptr_help
|
cryptr_help
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user