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 rm subcommand to locally remove output artifacts #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

huettern
Copy link

@huettern huettern commented May 5, 2022

Implements the feature requested in #3.

  • File metadata is checked before removal to catch error if file does not exists (file does not exist error is ignored since it could be that the manifest specifies an output directory, followed by a file inside that directory and thus the files does not exists after the parent directory is removed)
  • Outputs specified as directory are removed recursively
  • Outputs specified as file are removed normally
  • Dry run option with -n/--dry-run prints files to be removed to stdout

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.

1 participant