flxbl-io / sfp

A build system for modular development in Salesforce
https://docs.flxbl.io/sfp/
MIT License
26 stars 13 forks source link

sfp metrics report showing help command output all the time #90

Closed bill-sutton-coinbase closed 2 months ago

bill-sutton-coinbase commented 2 months ago

Describe the bug No matter the flags I use I am alway getting the output of sfp metrics report --help instead of anything else.

To Reproduce run sfp metrics report -m sfpowerscripts.package.created -t counter

Expected behavior I would expect either an error and success message

Screenshots image

Platform Details (please complete the following information):

Additional context Add any other context about the problem here.

azlam-abdulsalam commented 2 months ago

@bill-sutton-coinbase The metric should be used with quotes, otherwise, this results in oclif interpreting as an argument, causing the help to be displayed