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

Enhance CLI interface #15

Merged
merged 1 commit into from
Sep 12, 2023
Merged

Enhance CLI interface #15

merged 1 commit into from
Sep 12, 2023

Conversation

PoroCYon
Copy link
Contributor

  • Make archive listing (and the -l flag) work: it was documented but unimplemented (no checking for -l) and unreachable (null check made the 'no args' codepath never run) before.
  • Make outputting the file to stdout optional. By default, files are now created. -o can be used to write to stdout instead.
  • By default, files are written to the current directory, without recreating the full folder hierarchy of the source zip file. To create these folders, use the -f flag.
  • Add a -h/--help flag to explain how to use the tool

* Make archive listing (and the -l flag) work (it was documented but
  unimplemented and unreachable before)
* Make outputting the file to stdout optional. By default, files are now
  created. -o can be used to write to stdout instead.
* By default, files are written to the current directory, without
  recreating the full folder hierarchy of the source zip file. To create
  these folders, use the -f flag.
* Add a -h/--help flag to explain how to use the tool
@saulpw
Copy link
Owner

saulpw commented Sep 11, 2023

Thanks, @PoroCYon! These changes look good to me, I'll let @anjakefala do some basic tests and merge when she confirms everything seems to work.

@anjakefala anjakefala self-requested a review September 12, 2023 00:50
Copy link
Collaborator

@anjakefala anjakefala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it on .zip files here! https://www.cs.ubc.ca/labs/algorithms/Projects/autoweka/datasets/

Works as intended. =)

@anjakefala anjakefala merged commit a0d20b5 into saulpw:master Sep 12, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants