Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Rename activate flag to shorter

Maciej Korycinskicc160ae7ab25
diff --git a/saleor/app/management/commands/create_app.py b/saleor/app/management/commands/create_app.py
index 2ddd36cf0f..dab5ae2974 100644
--- a/saleor/app/management/commands/create_app.py
+++ b/saleor/app/management/commands/create_app.py
@@ -25,7 +25,10 @@ class Command(BaseCommand):
"Argument can be specified multiple times.",
)
parser.add_argument(
- "--activate-after-installation", action="store_true", dest="activate"
+ "--activate",
+ action="store_true",
+ dest="activate",
+ help="Activates the app after installation",
)
parser.add_argument(
"--target-url",
diff --git a/saleor/app/management/commands/install_app.py b/saleor/app/management/commands/install_app.py
index 2b007e63cf..050713ae02 100644
--- a/saleor/app/management/commands/install_app.py
+++ b/saleor/app/management/commands/install_app.py
@@ -19,7 +19,10 @@ class Command(BaseCommand):
def add_arguments(self, parser: CommandParser) -> None:
parser.add_argument("manifest-url", help="Url with app manifest.", type=str)
parser.add_argument(
- "--activate-after-installation", action="store_true", dest="activate"
+ "--activate",
+ action="store_true",
+ dest="activate",
+ help="Activates the app after installation",
)
def validate_manifest_url(self, manifest_url: str):