Skip to content

--flags-dir is broken #159

@amtrack

Description

@amtrack

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions