mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 08:30:39 +00:00
refactor(minor): Use Bench object to remove app
This commit is contained in:
parent
bae338ad0b
commit
e1ed4d4e53
@ -96,8 +96,9 @@ def new_app(app_name):
|
||||
@click.command('remove-app', help='Completely remove app from bench and re-build assets if not installed on any site')
|
||||
@click.argument('app-name')
|
||||
def remove_app(app_name):
|
||||
from bench.app import remove_app
|
||||
remove_app(app_name)
|
||||
from bench.bench import Bench
|
||||
bench = Bench(".")
|
||||
bench.uninstall(app_name)
|
||||
|
||||
|
||||
@click.command('exclude-app', help='Exclude app from updating')
|
||||
|
Loading…
Reference in New Issue
Block a user