@tolgamorf/env2op-cli 0.1.5 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -3
- package/dist/cli.js +489 -393
- package/dist/index.d.ts +222 -0
- package/dist/index.js +521 -0
- package/dist/op2env-cli.js +551 -258
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# env2op
|
|
1
|
+
# env2op & op2env
|
|
2
2
|
|
|
3
3
|
Push `.env` files to 1Password and pull them back with two simple commands.
|
|
4
4
|
|
|
@@ -19,7 +19,9 @@ Or in a single command:
|
|
|
19
19
|
brew install tolgamorf/tap/env2op-cli
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
###
|
|
22
|
+
### Package Managers (All Operating Systems)
|
|
23
|
+
|
|
24
|
+
#### Global installation
|
|
23
25
|
|
|
24
26
|
```bash
|
|
25
27
|
# Using bun
|
|
@@ -28,10 +30,24 @@ bun add -g @tolgamorf/env2op-cli
|
|
|
28
30
|
# Using npm
|
|
29
31
|
npm install -g @tolgamorf/env2op-cli
|
|
30
32
|
|
|
31
|
-
#
|
|
33
|
+
# Using pnpm
|
|
34
|
+
pnpm add -g @tolgamorf/env2op-cli
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
#### Running directly
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
# Using bun
|
|
32
41
|
bunx @tolgamorf/env2op-cli .env Personal "MyApp"
|
|
42
|
+
|
|
43
|
+
# Using npm
|
|
44
|
+
npx @tolgamorf/env2op-cli .env Personal "MyApp"
|
|
45
|
+
|
|
46
|
+
# Using pnpm
|
|
47
|
+
pnpm dlx @tolgamorf/env2op-cli .env Personal "MyApp"
|
|
33
48
|
```
|
|
34
49
|
|
|
50
|
+
|
|
35
51
|
## Prerequisites
|
|
36
52
|
|
|
37
53
|
- [1Password CLI](https://1password.com/downloads/command-line/) installed and signed in
|