This commit is contained in:
Silambarasan Perumal 2023-11-19 11:33:12 +00:00 committed by GitHub
commit dc1f0039b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,9 @@
from thefuck.utils import for_app
@for_app('apt-get')
def match(command):
return 'Do you want to continue?' in command.output
def get_new_command(command):
new_command = command.script.replace('apt-get', 'apt-get -y')
return new_command