Skip to content

Commit 15c6cc8

Browse files
authored
Update README.md
1 parent 6e0569d commit 15c6cc8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,22 @@ You can install the package via composer:
1212
composer global require fidum/padlock
1313
```
1414

15+
### Using Composer Package Executor (cpx)
16+
17+
```sh
18+
# Install cpx
19+
composer global require cpx/cpx
20+
21+
# Change directory
22+
cd src/
23+
24+
# Decrypt
25+
cpx fidum/padlock env:decrypt --env=$ENVIRONMENT --force --key=$ADD_ENCRYPTION_KEY_HERE
26+
27+
# Encrypt
28+
cpx fidum/padlock env:encrypt --env=$ENVIRONMENT --force --key=$ADD_ENCRYPTION_KEY_HERE
29+
```
30+
1531
## Usage
1632
```console
1733
$ padlock

0 commit comments

Comments
 (0)