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

Add way to clean up untagged modelkits/all local modelkits #126

Closed
bmicklea opened this issue Mar 14, 2024 · 4 comments
Closed

Add way to clean up untagged modelkits/all local modelkits #126

bmicklea opened this issue Mar 14, 2024 · 4 comments
Labels
CLI Topics related to the CLI *Salmon not pink enhancement New feature or request hacktoberfest

Comments

@bmicklea
Copy link
Contributor

bmicklea commented Mar 14, 2024

Describe the problem you're trying to solve
Once I have a number of ModelKits in my local repository, it can become annoying to have to clean them out one-by-one.

Describe the solution you'd like
Some kind of CLI command to do bulk removes.

@bmicklea bmicklea added enhancement New feature or request CLI Topics related to the CLI *Salmon not pink labels Mar 14, 2024
@srikary12
Copy link
Contributor

I'll be happy to work on this.

@amisevsk
Copy link
Contributor

amisevsk commented Nov 5, 2024

We've currently got two flags for this:

  • Remove all untagged modelkits: kit remove -a or kit remove --all
  • Remove all locally-stored modelkits: kit remove -a -f or kit remove --all --force

We can potentially add more ways of removing multiple modelkits, but this feels like the low-hanging fruit. Any suggestions?

@srikary12
Copy link
Contributor

I think adding something based on regular expression would help.

@bmicklea
Copy link
Contributor Author

bmicklea commented Nov 5, 2024

I actually should have closed this issue when the remove command was expanded. @srikary12 if you think regular expressions would help can you create a new issue and explain the situations where it would be a meaningful improvement?

@bmicklea bmicklea closed this as completed Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI Topics related to the CLI *Salmon not pink enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

3 participants