Skip to content

Commit 1172ee4

Browse files
committed
docs: update cli usage
1 parent 5ab5648 commit 1172ee4

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,13 @@ or `application.yml`.
66

77
# Get Started
88

9-
Download dotenvx-cli from [dotenvx-rs](https://github.com/linux-china/dotenvx-rs),
9+
Download the last version of dotenvx-cli from [dotenvx-rs](https://github.com/linux-china/dotenvx-rs),
1010
and follow the steps below to add encrypted items.
1111

1212
```bash
13-
$ cd project_dir
13+
$ cd spring-boot-project-dir
1414
$ dotenvx init
15-
$ ls .env*
16-
$ cd src/main/resources
17-
$ dotenvx -f application.properties nick Jackie
15+
$ dotenvx set --encrypt nick Jackie
1816
```
1917

2018
`application.properties` content example:
@@ -53,4 +51,4 @@ and you will notice the decrypted value as hints in the configuration files.
5351
* [Dotenvx](https://dotenvx.com/): encrypts your .env files, limiting their attack vector while retaining their
5452
benefits.
5553
* [dotenvx-rs](https://github.com/linux-china/dotenvx-rs): Dotenvx Rust SDK/CLI
56-
* [dotenvx-java](https://github.com/linux-china/dotenvx-java): Dotenvx Java SDK
54+
* [dotenvx-java](https://github.com/linux-china/dotenvx-java): Dotenvx Java SDK

0 commit comments

Comments
 (0)