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 argument to 'clean' command to remove reports files #777

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

dapomeroy
Copy link
Collaborator

Adds ramble clean --reports to remove pdf and image files generated by the reports feature.

(base) foo@user:~/ramble$ ramble clean -r
==> Removing pdf and image files generated by ramble reports
==> Really remove all reports and images from /usr/local/foo/.ramble/reports? [y/N] n
==> Error: Will not remove any files
(base) foo@user:~/ramble$ ramble clean -r
==> Removing pdf and image files generated by ramble reports
==> Really remove all reports and images from /usr/local/foo/.ramble/reports? [y/N] y
(base) foo@user:~/ramble$ 

Adds `ramble clean --reports` to remove pdf and image files generated by
the reports feature.
Adds an inventory of report files generated and updates the 'clean -r'
command to only remove files listed in the inventory, empty directories,
and root folder symlinks.
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.

2 participants