chore: replace parseRawFlags
with a better approach
#1892
Labels
area: command: addons
area: command: sites
good first issue
type: chore
work needed to keep the product and development running smoothly
parseRawFlags
cli/src/utils/parse-raw-flags.js
Line 13 in f9ec206
In some places it is redundant:
cli/src/commands/sites/delete.js
Line 40 in f9ec206
cli/src/commands/addons/delete.js
Line 19 in f9ec206
And in other places it is used to to pass configuration to addons:
cli/src/commands/addons/create.js
Line 58 in f9ec206
cli/src/commands/addons/config.js
Line 56 in f9ec206
We should use the built in parsing mechanism when possible and re-visit the approach passing configuration to plugins by parsing the raw arguments ourselves.
The text was updated successfully, but these errors were encountered: