Skip to content

Commit b8006ab

Browse files
committed
docs: rename env-1password example to match plugin name
1 parent 72ba25c commit b8006ab

File tree

12 files changed

+17
-17
lines changed

12 files changed

+17
-17
lines changed

examples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
## Development Examples
99

1010
- [dev-command](./dev-command/): A distributable command-line app
11+
- [dev-env-1password](./dev-env-1password): 1Password implementation of `@qui-cli/env` use
1112
- [dev-plugin](./dev-plugin/): Define (and use) a plugin package
1213
- [dev-plugin-lifecycle](./dev-plugin-lifecycle/): Demonstrate order in which plugin hooks are called (and the state of environment variables at each hook invocation).
1314
- [dev-positionals](./dev-positionals/): Require named or unnamed positional arguments
1415
- [dev-sequenced-commands](./dev-sequenced-commands/): A hierarchy of interdependent plugins
1516
- [dev-structured](./dev-structured/): A folder hierarchy of commands bundled into a single callable command
16-
- [dev-1password-env](./dev-1password-env/): 1Password implementation of `@qui-cli/env` use
1717
- [dev-fallback-env](./dev-fallback-env/): Fallback to default Env implementation if OP is not imported
File renamed without changes.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"name": "@examples/dev-1password-env",
2+
"name": "@examples/dev-env-1password",
33
"version": "0.0.0",
4-
"homepage": "https://github.com/battis/qui-cli/tree/main/examples/dev-1password-env#readme",
4+
"homepage": "https://github.com/battis/qui-cli/tree/main/examples/dev-env-1password#readme",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/battis/qui-cli.git",
8-
"directory": "examples/dev-1password-env"
8+
"directory": "examples/dev-env-1password"
99
},
1010
"author": {
1111
"name": "Seth Battis",
@@ -24,7 +24,7 @@
2424
"build:compile": "tsc",
2525
"example": "run-s example:*",
2626
"example:build": "run-s build",
27-
"example:env": "dev-1password-env --serviceAccountToken=\"$(op item get OP_SERVICE_ACCOUNT_TOKEN --field credential --reveal)\""
27+
"example:env": "dev-env-1password --opItem myToken"
2828
},
2929
"dependencies": {
3030
"@qui-cli/colors": "workspace:*",

examples/dev-fallback-env/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"build:compile": "tsc",
2525
"example": "run-s example:*",
2626
"example:build": "run-s build",
27-
"example:env": "dev-1password-env --serviceAccountToken=\"$(op item get OP_SERVICE_ACCOUNT_TOKEN --field credential --reveal)\""
27+
"example:env": "dev-env-1password --opItem myToken"
2828
},
2929
"dependencies": {
3030
"@qui-cli/core": "workspace:*",

examples/dev-plugin-lifecycle/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Demonstrate order in which plugin hooks are called (and the state of environment
55
## Notes
66

77
- Demonstrates the when the environment variables are loaded from .env files in the plugin lifecycle
8-
- Too load the .env files early, `await Env.parse()` (or `await OP.parse()` if using the [1Password implementation](../dev-1password-env#readme))
8+
- Too load the .env files early, `await Env.parse()` (or `await OP.parse()` if using the [1Password implementation](../dev-env-1password#readme))
99

1010
## Expected Output
1111

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"@commitlint/cli": "^19.8.1",
2626
"@commitlint/config-conventional": "^19.8.1",
2727
"@commitlint/config-pnpm-scopes": "^19.9.1",
28-
"@examples/dev-1password-env": "workspace:*",
2928
"@examples/dev-command": "workspace:*",
29+
"@examples/dev-env-1password": "workspace:*",
3030
"@examples/dev-plugin-lifecycle": "workspace:*",
3131
"@examples/dev-plugin.consumer-cli": "workspace:*",
3232
"@examples/dev-plugin.consumer-modular": "workspace:*",

0 commit comments

Comments
 (0)