breadc 0.4.3 → 0.4.4

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/dist/index.cjs CHANGED
@@ -167,6 +167,11 @@ const _Command = class {
167
167
  }
168
168
  }
169
169
  }
170
+ for (const key of Object.keys(options)) {
171
+ if (!fullOptions.has(key)) {
172
+ delete options[key];
173
+ }
174
+ }
170
175
  return {
171
176
  command: this,
172
177
  arguments: argumentss,
package/dist/index.mjs CHANGED
@@ -160,6 +160,11 @@ const _Command = class {
160
160
  }
161
161
  }
162
162
  }
163
+ for (const key of Object.keys(options)) {
164
+ if (!fullOptions.has(key)) {
165
+ delete options[key];
166
+ }
167
+ }
163
168
  return {
164
169
  command: this,
165
170
  arguments: argumentss,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "breadc",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "description": "Yet another Command Line Application Framework with fully strong TypeScript support",
5
5
  "keywords": [
6
6
  "cli",