Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Unpack filters don't work as documented #26

Open
ngmares opened this issue Sep 1, 2020 · 2 comments
Open

Unpack filters don't work as documented #26

ngmares opened this issue Sep 1, 2020 · 2 comments

Comments

@ngmares
Copy link

ngmares commented Sep 1, 2020

Description

I run the below as per the readme:
canvasDataCli unpack -c path/to/config.js -f user_dim,account_dim

I get:
no files matched filter, nothing will be unpacked
unpack command completed successfully

If I run the following for each table/file individually it works as expexted:
canvasDataCli unpack -c config.js -f user_dim
canvasDataCli unpack -c config.js -f account_dim

There seems to be an issue parsing the -f parameter.

Additional Information

  • Node Version: v10.19.0
  • Platform: Ubuntu 20.0.4.1
  • Logs: (If you can please run the CLI with: -l debug and provide us the debug logs.)
@jacreinelt
Copy link

Instead of commas try using a space as that is what is currently working for me:

canvasDataCli unpack -c path/to/config.js -f user_dim account_dim

If their documents state to use a comma then it should probably get updated to be a space.

@ngmares
Copy link
Author

ngmares commented Sep 2, 2020

Yes you're right, feel silly for not trying that!

The documentation just needs updating to reflect the need to use spaces, not commas.

reformedmonkeys added a commit to reformedmonkeys/canvas-data-cli that referenced this issue Jun 21, 2021
the unpack example should be canvasDataCli unpack -c path/to/config.js -f user_dim account_dim.
The separator between multiple files is a space, not a commas as currently documented.

From issue:
instructure#26
@reformedmonkeys reformedmonkeys mentioned this issue Jun 21, 2021
4 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants