Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Commit 1aeeb61

Browse files
committed
fix: added load function
1 parent 4784a3a commit 1aeeb61

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"author": "Jeff Dickey @jdxcode",
66
"bugs": "https://github.com/dxcli/command/issues",
77
"dependencies": {
8-
"@dxcli/config": "^0.1.9",
8+
"@dxcli/config": "^0.1.11",
99
"@dxcli/parser": "^0.0.2",
1010
"@dxcli/screen": "^0.0.0",
1111
"cli-ux": "^3.0.0-alpha.4",

src/command.ts

+2
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ export default abstract class Command {
6767
*/
6868
abstract async run(): Promise<void>
6969

70+
load() { return this }
71+
7072
protected async _run(argv: string[], opts: Options) {
7173
try {
7274
await this.init(argv, opts)

yarn.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@
106106
dependencies:
107107
find-up "^2.1.0"
108108

109-
"@dxcli/config@^0.1.9":
110-
version "0.1.9"
111-
resolved "https://registry.yarnpkg.com/@dxcli/config/-/config-0.1.9.tgz#f9d033fec9d0236435b60da1d7457c78f48c631e"
109+
"@dxcli/config@^0.1.11":
110+
version "0.1.11"
111+
resolved "https://registry.yarnpkg.com/@dxcli/config/-/config-0.1.11.tgz#e7ebab5b69ae38f0f43297e41f7079a73cfb1d4a"
112112
dependencies:
113113
debug "^3.1.0"
114114
fs-extra "^5.0.0"

0 commit comments

Comments
 (0)