Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pac data export - dataFile is not an optional param #1099

Open
ericregnier opened this issue Dec 18, 2024 · 2 comments
Open

pac data export - dataFile is not an optional param #1099

ericregnier opened this issue Dec 18, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ericregnier
Copy link

ericregnier commented Dec 18, 2024

Describe the bug
pac data export --dataFile (-df) parameter is not optional. The documentation states that the --dataFile is optional with default value of Data.zip

To Reproduce
Steps to reproduce the behavior in PowerShell:

  1. pac auth to a valid environment
  2. navigate to where the schema file resides
  3. run pac data export -sf data_schema.xml -o -v

Actual behavior
Error message returned in terminal:
Error: Value cannot be null.
Parameter name: path

Expected behavior
Command ran successfully and takes "Data.zip" as the default data file as per documentation
OR
--dataFile (-df) is indeed a required parameter

Also, error message should state "dataFile" not "path". Path is not a valid parameter of this command.

@ericregnier ericregnier added the bug Something isn't working label Dec 18, 2024
@ericregnier
Copy link
Author

@JimDaly created this bug since we shouldn't create a PR for these types of auto-generated documentation

@JimDaly
Copy link
Member

JimDaly commented Dec 18, 2024

@JimDaly created this bug since we shouldn't create a PR for these types of auto-generated documentation

Thanks. The auto-generated documentation reflects the pac help content and metadata. When this is fixed in the pac cli, the docs should reflect that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants