Error (SfError): undefinedComponentSet
With newer libraries (newer sf CLI) we can see issues like reported in #112 .
Using the --dev-debug shows the flags are parsed using the prepare hook, but flags.metadata is undefined.
Profile:Admin
Profile:Standard
sf crud-mdapi read --flags-dir myflags --dev-debug
# DEBUG (sf:oclif:@salesforce/cli:hooks:preparse): Returning argv: --flags-dir myflags --metadata Profile:Admin --metadata Profile:Standard
Interestingly sf project retrieve start works:
sf project retrieve start --flags-dir myflags --dev-debug
# DEBUG (sf:oclif:@salesforce/cli:hooks:preparse): Returning argv: --flags-dir myflags --metadata Profile:Admin --metadata Profile:Standard
With newer libraries (newer sf CLI) we can see issues like reported in #112 .
Using the
--dev-debugshows the flags are parsed using the prepare hook, butflags.metadatais undefined.Interestingly
sf project retrieve start works:sf project retrieve start --flags-dir myflags --dev-debug # DEBUG (sf:oclif:@salesforce/cli:hooks:preparse): Returning argv: --flags-dir myflags --metadata Profile:Admin --metadata Profile:Standard