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 filtering and advanced options to purge subcommand #153

Open
in03 opened this issue Jun 3, 2022 · 0 comments
Open

Add filtering and advanced options to purge subcommand #153

in03 opened this issue Jun 3, 2022 · 0 comments

Comments

@in03
Copy link
Owner

in03 commented Jun 3, 2022

Something like this:

rprox tasks purge

this will purge all tasks! Check help for options to filter if necessary. Continue [y/n]?
y
48 tasks purged

rprox tasks purge --force

48 tasks purged

rprox tasks purge --project 'Project Name'

this will purge all tasks for project 'Project Name' continue?
20 tasks purged

rprox tasks purge --timeline 'Timeline Name'

Missing argument! --timeline option used without specifying project

rprox tasks purge --project 'Project Name' --timeline 'Timeline Name'

this will purge all tasks for project 'Project Name' in timeline 'Timeline Name'
y
12 tasks purged

rprox tasks purge --id 'faj8915'

Are you sure you want to purge this task?
If you passed a group ID, all tasks in that group will be purged!
y
1 tasks purged

rprox tasks purge --file 'PJ10915*'
support wildcard filtering

Multiple matches found. Which task would you like to purge?
"R:/ProxyMedia/Project 1/Footage/PJ10915.mp4' [y/n]
n
"R:/ProxyMedia/Project 12/Footage/PJ10915.mp4'[y/n]
y
1 task purged

@in03 in03 added this to the Improve CLI commands milestone Jun 3, 2022
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

No branches or pull requests

1 participant