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

Split into sub commands #11

Open
gwillem opened this issue Mar 31, 2023 · 0 comments
Open

Split into sub commands #11

gwillem opened this issue Mar 31, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@gwillem
Copy link
Contributor

gwillem commented Mar 31, 2023

Currently we accept multi path arguments to support the --merge command, which is a bit hacky.
Should probably refactor to use (for example) github.com/spf13/cobra and then have commands:

  • scan
  • add
  • merge
  • strip (to deduplicate X given main db Y, useful to store delta hashes per release)
  • test (to see if a particular filename or line is in the db)
@gwillem gwillem added the enhancement New feature or request label Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant