Skip to content

Commit 410b39e

Browse files
authored
Update README.md
1 parent f0d0744 commit 410b39e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
CLI program to encrypt/decrypt [andOTP](https://github.com/andOTP/andOTP) files.
33

44
## Installation
5-
```
5+
```sh
66
$ go get github.com/grijul/go-andotp
77
```
88

99
## Usage
10-
```
10+
```sh
1111
Usage: go-andotp -i <INPUT_FILE> {-e|-d} [-o <OUT_FILE>] [-p PASSWORD]
1212

1313
-d Decrypt file
@@ -22,19 +22,19 @@ Usage: go-andotp -i <INPUT_FILE> {-e|-d} [-o <OUT_FILE>] [-p PASSWORD]
2222

2323
## Examples
2424
- Encrypt JSON file (Password is asked after hitting ```Enter```. Password is not echoed)
25-
```
25+
```sh
2626
$ go-andotp -e -i file.json -o file.json.aes
2727
```
2828
- Encrypt JSON file (Password is entered through CLI)
29-
```
29+
```sh
3030
$ go-andotp -e -i file.json -o file.json.aes -p testpass
3131
```
3232
- Decrypt JSON file
33-
```
33+
```sh
3434
$ go-andotp -d -i file.aes.json -o file.json
3535
```
3636
- Decrypt JSON file and print json to console
37-
```
37+
```sh
3838
$ go-andotp -d -i file.aes.json
3939
```
4040

0 commit comments

Comments
 (0)