@tolgamorf/env2op-cli 0.2.2 → 0.2.3

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Tolga O.
3
+ Copyright (c) 2026 Tolga O.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -1,8 +1,34 @@
1
- # env2op & op2env
1
+ # 🔐 env2op op2env
2
2
 
3
- Push `.env` files to 1Password and pull them back with two simple commands.
3
+ ### Push `.env` files to [1Password](https://1password.com) and pull them back with two simple commands.
4
4
 
5
- ![env2op demo](demo/env2op-demo.gif)
5
+ ![GitHub Release Date](https://img.shields.io/github/release-date/tolgamorf/env2op-cli)
6
+ [![npm downloads](https://img.shields.io/npm/dm/@tolgamorf/env2op-cli)](https://www.npmjs.com/package/@tolgamorf/env2op-cli)
7
+ [![install size](https://packagephobia.com/badge?p=@tolgamorf/env2op-cli@0.2.2)](https://packagephobia.com/result?p=@tolgamorf/env2op-cli@0.2.2)
8
+ [![npm bundle size](https://img.shields.io/bundlephobia/minzip/@tolgamorf/env2op-cli)](https://bundlephobia.com/package/@tolgamorf/env2op-cli)
9
+ [![GitHub last commit](https://img.shields.io/github/last-commit/tolgamorf/env2op-cli)](https://github.com/tolgamorf/env2op-cli/commits/main)
10
+ [![GitHub commits since latest release](https://img.shields.io/github/commits-since/tolgamorf/env2op-cli/latest)](https://github.com/tolgamorf/env2op-cli/commits/main)
11
+
12
+
13
+ [![Node.js](https://img.shields.io/node/v/@tolgamorf/env2op-cli?logo=node.js&logoColor=white)](https://nodejs.org/)
14
+ [![TypeScript](https://img.shields.io/github/package-json/dependency-version/tolgamorf/env2op-cli/dev/typescript?logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
15
+ [![ESM](https://img.shields.io/badge/ESM-only-F7DF1E?logo=javascript&logoColor=white)](https://nodejs.org/api/esm.html)
16
+ [![Bun](https://img.shields.io/badge/Bun-compatible-fbf0df.svg?logo=bun&logoColor=white)](https://bun.sh/)
17
+ [![Biome](https://img.shields.io/badge/Biome-linter-60A5FA?logo=biome&logoColor=white)](https://biomejs.dev/)
18
+
19
+ [![NPM version](https://img.shields.io/npm/v/@tolgamorf/env2op-cli?logo=npm)](https://www.npmjs.com/package/@tolgamorf/env2op-cli)
20
+ [![Homebrew Formula Version](https://img.shields.io/github/v/release/tolgamorf/env2op-cli?logo=homebrew&label=homebrew&color=FBB040)](https://github.com/tolgamorf/homebrew-tap)
21
+ [![CI](https://github.com/tolgamorf/env2op-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/tolgamorf/env2op-cli/actions/workflows/ci.yml)
22
+ [![GitHub issues](https://img.shields.io/github/issues/tolgamorf/env2op-cli)](https://github.com/tolgamorf/env2op-cli/issues)
23
+ [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/tolgamorf/env2op-cli/pulls)
24
+ [![GitHub License](https://img.shields.io/github/license/tolgamorf/env2op-cli)](https://github.com/tolgamorf/env2op-cli/blob/main/LICENSE)
25
+
26
+ <!--
27
+ [![Socket Badge](https://socket.dev/api/badge/npm/package/@tolgamorf/env2op-cli)](https://socket.dev/npm/package/@tolgamorf/env2op-cli)
28
+ [![GitHub stars](https://img.shields.io/github/stars/tolgamorf/env2op-cli)](https://github.com/tolgamorf/env2op-cli/stargazers)
29
+ -->
30
+
31
+ ![env2op demo](./demo/env2op-demo.gif)
6
32
 
7
33
  ## Installation
8
34
 
@@ -58,7 +84,7 @@ pnpm dlx @tolgamorf/env2op-cli .env Personal "MyApp"
58
84
  This package provides two commands:
59
85
 
60
86
  | Command | Description |
61
- |----------|--------------------------------------------------------|
87
+ |:--------:|--------------------------------------------------------|
62
88
  | `env2op` | Push `.env` to 1Password, generate `.env.tpl` template |
63
89
  | `op2env` | Pull secrets from 1Password using `.env.tpl` template |
64
90
 
@@ -92,7 +118,7 @@ env2op .env.production Personal "MyApp" -f
92
118
  ### Options for env2op
93
119
 
94
120
  | Flag | Description |
95
- |-----------------|-------------------------------------------------------|
121
+ |----------------:|-------------------------------------------------------|
96
122
  | `-o, --output` | Output template path (default: `<env_file>.tpl`) |
97
123
  | `-f, --force` | Skip confirmation prompts |
98
124
  | `--dry-run` | Preview actions without executing |
@@ -129,7 +155,7 @@ op2env .env.tpl -f
129
155
  ### Options for op2env
130
156
 
131
157
  | Flag | Description |
132
- |-----------------|-----------------------------------------------------|
158
+ |----------------:|-----------------------------------------------------|
133
159
  | `-o, --output` | Output .env path (default: template without `.tpl`) |
134
160
  | `-f, --force` | Overwrite without prompting |
135
161
  | `--dry-run` | Preview actions without executing |