bbrf-client
bbrf-client copied to clipboard
`bbrf $operation --force` flag
Hi! This would be a simple flag to force/override operation on a document. An example would be you are trying to tag or adding a url. However, it is not in scope for the current program (maybe the scope changed in the meantime). However you'd like to force add, regardless of the scope or other non breaking validations that might exist. This would add it no matter what.
Another example:
bbrf inscope remove lots.gems.org -p ibp
WARNING! This will remove 0 document(s) from your datastore and cannot be reverted.
Are you sure you want to continue? [y/N] n
By using e.g.
bbrf inscope remove rubygems.org -p ibb --force the document would be forcefully removed
For context, this is useful if you are using bbrf in script where you can't have user interaction.
Hi there,
You could achieve the same using echo:
echo y | bbrf inscope remove rubygems.org -p ibb
Bash. The more you know 🥲
Thanks!
On Fri, Jul 15, 2022, 17:34 Philippe Delteil @.***> wrote:
Hi there,
You could achieve the same using echo:
echo y | bbrf inscope remove rubygems.org -p ibb
— Reply to this email directly, view it on GitHub https://github.com/honoki/bbrf-client/issues/86#issuecomment-1185709621, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKRBL4RXM5SFPHUYYJ5GXLVUGHHPANCNFSM5HDVXJHQ . You are receiving this because you authored the thread.Message ID: @.***>
Implemented in #ffa4bc7