ptarmiganlabs / ctrl-q

Command line tool for interacting with Qlik Sense Enterprise servers
MIT License
13 stars 2 forks source link

`qseow app-export` command does not work, seems to be doing import instead #541

Closed mountaindude closed 5 hours ago

mountaindude commented 3 days ago

What version of Ctrl-Q are you using?

4.0.0

What version of Node.js are you using? Not applicable if you use the standalone version of Ctrl-Q.

No response

What command did you use to start Ctrl-Q?

-

What operating system are you using?

-

What CPU architecture are you using?

-

What Qlik Sense versions are you using?

-

Describe the Bug

PS C:\tools\ctrl-q> .\ctrl-q.exe qseow app-export `
>>   --auth-type cert `
>>   --host pro2-win1.lab.ptarmiganlabs.net `
>>   --auth-cert-file ./cert/client.pem `
>>   --auth-cert-key-file ./cert/client_key.pem `
>>   --auth-root-cert-file ./cert/root.pem `
>>   --auth-user-dir LAB `
>>   --auth-user-id goran `
>>   --output-dir qvf-export `
>>   --app-tag apiCreated "Ctrl-Q import" `
>>   --app-id eb3ab049-d007-43d3-93da-5962f9208c65 2933711d-6638-41d4-a2d2-6dd2d965208b `
>>   --exclude-app-data false `
>>   --qvf-name-format app-name export-date `
>>   --qvf-name-separator _ `
>>   --metadata-file-create
2024-11-15T16:30:53.669Z info: -----------------------------------------------------------
2024-11-15T16:30:53.672Z info: | Ctrl-Q
2024-11-15T16:30:53.672Z info: |
2024-11-15T16:30:53.673Z info: | Version      : 4.0.0
2024-11-15T16:30:53.673Z info: | Log level    : info
2024-11-15T16:30:53.673Z info: |
2024-11-15T16:30:53.673Z info: | Command      : app-export
2024-11-15T16:30:53.674Z info: |              : export Qlik Sense apps to QVF files on disk.
2024-11-15T16:30:53.674Z info: |
2024-11-15T16:30:53.674Z info: | Run Ctrl-Q with the '--help' option to see a list of all available options for this command.
2024-11-15T16:30:53.676Z info: |
2024-11-15T16:30:53.676Z info: | https://github.com/ptarmiganlabs/ctrl-q
2024-11-15T16:30:53.676Z info: ----------------------------------------------------------
2024-11-15T16:30:53.676Z info:
2024-11-15T16:30:53.680Z info: Import tasks from definitions in file "undefined"
2024-11-15T16:30:54.127Z info: Successfully retrieved 29 tags from QSEoW
2024-11-15T16:30:54.271Z info: Successfully retrieved 36 custom properties from QSEoW
2024-11-15T16:30:54.271Z error: Error while checking if file undefined exists: The "path" argument must be of type string or an instance of Buffer or URL. Received undefined
2024-11-15T16:30:54.272Z error: Missing task file "undefined". Aborting

Expected Behavior

No response

To Reproduce

No response