amsdal_cli 0.4.10__tar.gz → 0.4.12__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/PKG-INFO +1 -1
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/change-logs.md +12 -0
- amsdal_cli-0.4.12/latest-changelogs.md +5 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/pyproject.toml +5 -2
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/__about__.py +1 -1
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/callbacks.py +7 -1
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/dependency/sub_commands/dependency_delete.py +3 -8
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/dependency/sub_commands/dependency_list.py +6 -5
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/dependency/sub_commands/dependency_new.py +6 -6
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/deploy/sub_commands/deploy_delete.py +8 -13
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/deploy/sub_commands/deploy_list.py +2 -5
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/deploy/sub_commands/deploy_new.py +1 -1
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/environments/sub_commands/env_checkout.py +2 -5
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/environments/sub_commands/env_delete.py +2 -5
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/environments/sub_commands/env_list.py +2 -5
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/environments/sub_commands/env_new.py +2 -5
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/secret/sub_commands/secret_delete.py +2 -5
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/secret/sub_commands/secret_list.py +2 -5
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/secret/sub_commands/secret_new.py +2 -5
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/security/allowlist/sub_commands/allowlist_delete.py +2 -5
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/security/allowlist/sub_commands/allowlist_new.py +6 -9
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/security/basic_auth/sub_commands/basic_auth_delete.py +2 -5
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/security/basic_auth/sub_commands/basic_auth_new.py +2 -5
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/security/basic_auth/sub_commands/basic_auth_retrieve.py +2 -5
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/sub_commands/expose_db.py +2 -5
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/sub_commands/get_monitoring_info.py +2 -5
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/sub_commands/sync_db.py +1 -1
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/migrations/sub_commands/apply.py +1 -1
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/migrations/sub_commands/list.py +1 -1
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/migrations/sub_commands/make.py +1 -1
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/serve/utils.py +2 -2
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/config/main.py +2 -0
- amsdal_cli-0.4.10/latest-changelogs.md +0 -5
- amsdal_cli-0.4.10/src/amsdal_cli/commands/build/schemas/manager.py +0 -358
- amsdal_cli-0.4.10/src/amsdal_cli/commands/cloud/deploy/enums.py +0 -16
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/.editorconfig +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/.gitignore +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/CONTRIBUTING.md +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/LICENSE.txt +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/README.md +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/license_check.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/release_notes/.gitkeep +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/scripts/release.sh +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/scripts/tag_check.sh +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/Third-Party Materials - AMSDAL Dependencies - License Notices.md +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/app.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/command.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/constants.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/data_models/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/data_models/custom_code.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/data_models/options.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/data_models/schemas_directory.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/extenders/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/extenders/custom_code_extender.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/extenders/options_extender.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/loaders/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/loaders/base.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/loaders/cli_custom_code_loader.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/loaders/cli_loader.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/loaders/cli_options_loader.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/loaders/cli_statics_loader.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/loaders/cli_transactions_loader.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/loaders/utils.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/mixins/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/mixins/enrich_schemas_mixin.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/schema_json_loader.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/utils/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/schemas/utils/merger.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/services/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/services/builder.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/services/mixin.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/utils/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/build/utils/build_config_file.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/ci_cd/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/ci_cd/command.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/ci_cd/constants.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/ci_cd/templates/github.yml +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/clean/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/clean/command.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/app.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/command.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/dependency/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/dependency/app.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/dependency/command.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/dependency/sub_commands/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/deploy/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/deploy/app.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/deploy/command.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/deploy/sub_commands/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/enums.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/environments/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/environments/app.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/environments/command.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/environments/constants.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/environments/sub_commands/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/environments/utils.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/secret/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/secret/app.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/secret/command.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/secret/constants.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/secret/sub_commands/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/security/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/security/allowlist/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/security/allowlist/app.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/security/allowlist/command.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/security/allowlist/sub_commands/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/security/app.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/security/basic_auth/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/security/basic_auth/app.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/security/basic_auth/command.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/security/basic_auth/sub_commands/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/security/command.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/sub_commands/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/app.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/command.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/enums.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/sub_commands/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/sub_commands/generate_frontend_config.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/sub_commands/generate_hook.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/sub_commands/generate_model.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/sub_commands/generate_modifier.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/sub_commands/generate_permission.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/sub_commands/generate_property.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/sub_commands/generate_tests.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/sub_commands/generate_transaction.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/templates/async_transaction.pyt +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/templates/hook.pyt +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/templates/modifier/constructor.pyt +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/templates/modifier/display_name.pyt +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/templates/modifier/version_name.pyt +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/templates/property.pyt +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/templates/transaction.pyt +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/utils/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/utils/build_base_path.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/utils/cast_to_attribute_type.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/utils/model_attributes.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/utils/tests/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/utils/tests/async_mode_utils.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/utils/tests/conftest_utils.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/utils/tests/function_utils.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/utils/tests/model_utils.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/utils/tests/templates/async/conftest.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/utils/tests/templates/sync/conftest.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/utils/tests/type_utils.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/generate/utils/tests/unit.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/migrations/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/migrations/app.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/migrations/command.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/migrations/constants.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/migrations/sub_commands/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/new/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/new/command.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/new/templates/.amsdal/.dependencies +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/new/templates/.amsdal/.environment +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/new/templates/.amsdal/.secrets +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/new/templates/.amsdal-cli +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/new/templates/.gitignore +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/new/templates/README.md +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/new/templates/config.yml +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/new/templates/requirements.txt +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/register_connection/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/register_connection/command.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/register_connection/utils/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/register_connection/utils/build.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/register_connection/utils/config_updater.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/register_connection/utils/credentials.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/register_connection/utils/initialize.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/register_connection/utils/meta.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/register_connection/utils/migrate_models.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/register_connection/utils/model_generator.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/register_connection/utils/tables.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/restore/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/restore/command.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/restore/enums.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/serve/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/serve/command.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/serve/filters/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/serve/filters/models_watch_filter.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/serve/filters/static_files_watch_filter.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/serve/services/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/serve/services/supervisor.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/tests/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/tests/command.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/verify/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/verify/command.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/verify/models.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/verify/utils/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/verify/utils/verify_json_model.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/verify/utils/verify_python_file.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/worker/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/worker/app.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/worker/command.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/worker/sub_commands/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/worker/sub_commands/run.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/config/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/main.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/py.typed +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/utils/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/utils/alias_group.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/utils/check_versions.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/utils/cli_config.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/utils/copier.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/utils/markdown_patch.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/utils/render_template.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/utils/schema_repository.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/utils/text.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/utils/vcs/__init__.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/utils/vcs/base.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/utils/vcs/dummy.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/utils/vcs/enums.py +0 -0
- {amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/utils/vcs/git.py +0 -0
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
## [v0.4.12](https://pypi.org/project/amsdal_cli/0.4.12/) - 2025-04-09
|
|
2
|
+
|
|
3
|
+
### Added
|
|
4
|
+
|
|
5
|
+
- Ability to set the application uuid via `AMSDAL_APPLICATION_UUID` env (if not specified in .amsdal-cli).
|
|
6
|
+
|
|
7
|
+
## [v0.4.11](https://pypi.org/project/amsdal_cli/0.4.11/) - 2025-04-07
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- Quite build on most commands
|
|
12
|
+
|
|
1
13
|
## [v0.4.10](https://pypi.org/project/amsdal_cli/0.4.10/) - 2025-04-03
|
|
2
14
|
|
|
3
15
|
### Fixed
|
|
@@ -78,7 +78,7 @@ dependencies = [
|
|
|
78
78
|
[tool.hatch.envs.default.scripts]
|
|
79
79
|
test = "pytest -n auto {args:tests}"
|
|
80
80
|
test-single = "pytest -vvv {args:tests}"
|
|
81
|
-
test-cov = "pytest --cov=src {args:tests}"
|
|
81
|
+
test-cov = "pytest -n auto --cov=src {args:tests}"
|
|
82
82
|
cov = [
|
|
83
83
|
"test-cov",
|
|
84
84
|
]
|
|
@@ -126,7 +126,8 @@ pre-install-commands = [
|
|
|
126
126
|
|
|
127
127
|
[tool.hatch.envs.local.scripts]
|
|
128
128
|
test = "pytest -n auto {args:tests}"
|
|
129
|
-
test-
|
|
129
|
+
test-single = "pytest -vvv {args:tests}"
|
|
130
|
+
test-cov = "pytest -n auto --cov=src {args:tests}"
|
|
130
131
|
cov = [
|
|
131
132
|
"test-cov",
|
|
132
133
|
]
|
|
@@ -250,6 +251,8 @@ parallel = true
|
|
|
250
251
|
omit = [
|
|
251
252
|
"src/amsdal_cli/__about__.py",
|
|
252
253
|
"src/amsdal_cli/commands/register_connection/*",
|
|
254
|
+
"src/amsdal_cli/commands/restore/*",
|
|
255
|
+
"src/amsdal_cli/commands/cloud/sub_commands/sync_db.py",
|
|
253
256
|
]
|
|
254
257
|
|
|
255
258
|
[tool.coverage.paths]
|
|
@@ -62,7 +62,10 @@ def init_app_context(
|
|
|
62
62
|
templates_path = Path(__file__).parent / _cmd / 'templates'
|
|
63
63
|
|
|
64
64
|
if ctx.invoked_subcommand in COMMANDS_DO_NOT_REQUIRE_APP_PATH:
|
|
65
|
-
ctx.meta['config'] = CliConfig(
|
|
65
|
+
ctx.meta['config'] = CliConfig(
|
|
66
|
+
templates_path=templates_path,
|
|
67
|
+
application_uuid=settings.AMSDAL_APPLICATION_UUID,
|
|
68
|
+
)
|
|
66
69
|
|
|
67
70
|
return
|
|
68
71
|
|
|
@@ -87,6 +90,9 @@ def init_app_context(
|
|
|
87
90
|
|
|
88
91
|
config = ctx.meta['config']
|
|
89
92
|
|
|
93
|
+
if not config.application_uuid:
|
|
94
|
+
config.application_uuid = settings.AMSDAL_APPLICATION_UUID
|
|
95
|
+
|
|
90
96
|
vcs_service = get_vcs_service(config)
|
|
91
97
|
ctx.meta['vcs_service'] = vcs_service
|
|
92
98
|
|
|
@@ -40,8 +40,7 @@ def dependency_delete_command(
|
|
|
40
40
|
if cli_config.verbose:
|
|
41
41
|
rprint(
|
|
42
42
|
rich_info(
|
|
43
|
-
f'Deleting dependency {rich_highlight(dependency_name)} from environment: '
|
|
44
|
-
f'{rich_highlight(env_name)}'
|
|
43
|
+
f'Deleting dependency {rich_highlight(dependency_name)} from environment: {rich_highlight(env_name)}'
|
|
45
44
|
)
|
|
46
45
|
)
|
|
47
46
|
|
|
@@ -51,13 +50,9 @@ def dependency_delete_command(
|
|
|
51
50
|
cli_config=cli_config,
|
|
52
51
|
config_path=cli_config.config_path,
|
|
53
52
|
)
|
|
54
|
-
app_builder.build(output_path)
|
|
53
|
+
app_builder.build(output_path, is_silent=True)
|
|
55
54
|
manager: AsyncAmsdalManager | AmsdalManager
|
|
56
|
-
|
|
57
|
-
if AmsdalConfigManager().get_config().async_mode:
|
|
58
|
-
manager = AsyncAmsdalManager()
|
|
59
|
-
else:
|
|
60
|
-
manager = AmsdalManager()
|
|
55
|
+
manager = AsyncAmsdalManager() if AmsdalConfigManager().get_config().async_mode else AmsdalManager()
|
|
61
56
|
|
|
62
57
|
manager.authenticate()
|
|
63
58
|
|
|
@@ -68,13 +68,14 @@ def dependency_list_command(
|
|
|
68
68
|
cli_config=cli_config,
|
|
69
69
|
config_path=cli_config.config_path,
|
|
70
70
|
)
|
|
71
|
-
app_builder.build(output_path)
|
|
71
|
+
app_builder.build(output_path, is_silent=True)
|
|
72
72
|
manager: AsyncAmsdalManager | AmsdalManager
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
74
|
+
manager = (
|
|
75
|
+
AsyncAmsdalManager(raise_on_new_signup=True)
|
|
76
|
+
if AmsdalConfigManager().get_config().async_mode
|
|
77
|
+
else AmsdalManager(raise_on_new_signup=True)
|
|
78
|
+
)
|
|
78
79
|
|
|
79
80
|
manager.authenticate()
|
|
80
81
|
|
|
@@ -54,13 +54,13 @@ def dependency_new_command(
|
|
|
54
54
|
cli_config=cli_config,
|
|
55
55
|
config_path=cli_config.config_path,
|
|
56
56
|
)
|
|
57
|
-
app_builder.build(output_path)
|
|
57
|
+
app_builder.build(output_path, is_silent=True)
|
|
58
58
|
manager: AsyncAmsdalManager | AmsdalManager
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
59
|
+
manager = (
|
|
60
|
+
AsyncAmsdalManager(raise_on_new_signup=True)
|
|
61
|
+
if AmsdalConfigManager().get_config().async_mode
|
|
62
|
+
else AmsdalManager(raise_on_new_signup=True)
|
|
63
|
+
)
|
|
64
64
|
|
|
65
65
|
manager.authenticate()
|
|
66
66
|
|
|
@@ -35,13 +35,9 @@ def destroy_command(ctx: typer.Context, deployment_id: str) -> None:
|
|
|
35
35
|
cli_config=cli_config,
|
|
36
36
|
config_path=cli_config.config_path,
|
|
37
37
|
)
|
|
38
|
-
app_builder.build(output_path)
|
|
38
|
+
app_builder.build(output_path, is_silent=True)
|
|
39
39
|
manager: AsyncAmsdalManager | AmsdalManager
|
|
40
|
-
|
|
41
|
-
if AmsdalConfigManager().get_config().async_mode:
|
|
42
|
-
manager = AsyncAmsdalManager()
|
|
43
|
-
else:
|
|
44
|
-
manager = AmsdalManager()
|
|
40
|
+
manager = AsyncAmsdalManager() if AmsdalConfigManager().get_config().async_mode else AmsdalManager()
|
|
45
41
|
|
|
46
42
|
manager.authenticate()
|
|
47
43
|
|
|
@@ -65,17 +61,17 @@ def destroy_command(ctx: typer.Context, deployment_id: str) -> None:
|
|
|
65
61
|
rprint(rich_error(f'Deployment with ID {rich_highlight(deployment_id)} not found.'))
|
|
66
62
|
return
|
|
67
63
|
|
|
68
|
-
|
|
69
|
-
|
|
64
|
+
msg = (
|
|
65
|
+
(
|
|
70
66
|
f'You are about to destroy the deployment for {rich_highlight(cli_config.application_name)} '
|
|
71
67
|
f'and environment {rich_highlight(deployment_env)}.'
|
|
72
68
|
)
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
msg = (
|
|
69
|
+
if cli_config.application_name
|
|
70
|
+
else (
|
|
76
71
|
f'You are about to destroy the deployment with ID {rich_highlight(deployment_id)} and '
|
|
77
72
|
f'environment {rich_highlight(deployment_env)}.'
|
|
78
73
|
)
|
|
74
|
+
)
|
|
79
75
|
|
|
80
76
|
if not CustomConfirm.ask(
|
|
81
77
|
rich_info(f'{msg} Are you sure you want to proceed?'),
|
|
@@ -94,7 +90,6 @@ def destroy_command(ctx: typer.Context, deployment_id: str) -> None:
|
|
|
94
90
|
|
|
95
91
|
rprint(
|
|
96
92
|
rich_success(
|
|
97
|
-
'Destroying process is in progress now. '
|
|
98
|
-
'After a few minutes, you can check the status of your deployment.'
|
|
93
|
+
'Destroying process is in progress now. After a few minutes, you can check the status of your deployment.'
|
|
99
94
|
)
|
|
100
95
|
)
|
|
@@ -40,13 +40,10 @@ async def list_command(
|
|
|
40
40
|
cli_config=cli_config,
|
|
41
41
|
config_path=cli_config.config_path,
|
|
42
42
|
)
|
|
43
|
-
app_builder.build(output_path)
|
|
43
|
+
app_builder.build(output_path, is_silent=True)
|
|
44
44
|
manager: AsyncAmsdalManager | AmsdalManager
|
|
45
45
|
|
|
46
|
-
if AmsdalConfigManager().get_config().async_mode
|
|
47
|
-
manager = AsyncAmsdalManager()
|
|
48
|
-
else:
|
|
49
|
-
manager = AmsdalManager()
|
|
46
|
+
manager = AsyncAmsdalManager() if AmsdalConfigManager().get_config().async_mode else AmsdalManager()
|
|
50
47
|
|
|
51
48
|
manager.authenticate()
|
|
52
49
|
|
|
@@ -34,13 +34,10 @@ def environments_checkout(ctx: typer.Context, env_name: str) -> None:
|
|
|
34
34
|
cli_config=cli_config,
|
|
35
35
|
config_path=cli_config.config_path,
|
|
36
36
|
)
|
|
37
|
-
app_builder.build(output_path)
|
|
37
|
+
app_builder.build(output_path, is_silent=True)
|
|
38
38
|
manager: AsyncAmsdalManager | AmsdalManager
|
|
39
39
|
|
|
40
|
-
if AmsdalConfigManager().get_config().async_mode
|
|
41
|
-
manager = AsyncAmsdalManager()
|
|
42
|
-
else:
|
|
43
|
-
manager = AmsdalManager()
|
|
40
|
+
manager = AsyncAmsdalManager() if AmsdalConfigManager().get_config().async_mode else AmsdalManager()
|
|
44
41
|
|
|
45
42
|
manager.authenticate()
|
|
46
43
|
|
|
@@ -31,13 +31,10 @@ def env_delete_command(ctx: typer.Context, env_name: str) -> None:
|
|
|
31
31
|
cli_config=cli_config,
|
|
32
32
|
config_path=cli_config.config_path,
|
|
33
33
|
)
|
|
34
|
-
app_builder.build(output_path)
|
|
34
|
+
app_builder.build(output_path, is_silent=True)
|
|
35
35
|
manager: AsyncAmsdalManager | AmsdalManager
|
|
36
36
|
|
|
37
|
-
if AmsdalConfigManager().get_config().async_mode
|
|
38
|
-
manager = AsyncAmsdalManager()
|
|
39
|
-
else:
|
|
40
|
-
manager = AmsdalManager()
|
|
37
|
+
manager = AsyncAmsdalManager() if AmsdalConfigManager().get_config().async_mode else AmsdalManager()
|
|
41
38
|
|
|
42
39
|
manager.authenticate()
|
|
43
40
|
|
|
@@ -42,13 +42,10 @@ def environments_list_callback(
|
|
|
42
42
|
cli_config=cli_config,
|
|
43
43
|
config_path=cli_config.config_path,
|
|
44
44
|
)
|
|
45
|
-
app_builder.build(output_path)
|
|
45
|
+
app_builder.build(output_path, is_silent=True)
|
|
46
46
|
manager: AsyncAmsdalManager | AmsdalManager
|
|
47
47
|
|
|
48
|
-
if AmsdalConfigManager().get_config().async_mode
|
|
49
|
-
manager = AsyncAmsdalManager()
|
|
50
|
-
else:
|
|
51
|
-
manager = AmsdalManager()
|
|
48
|
+
manager = AsyncAmsdalManager() if AmsdalConfigManager().get_config().async_mode else AmsdalManager()
|
|
52
49
|
|
|
53
50
|
manager.authenticate()
|
|
54
51
|
|
|
@@ -31,13 +31,10 @@ def env_add_command(ctx: typer.Context, env_name: str) -> None:
|
|
|
31
31
|
cli_config=cli_config,
|
|
32
32
|
config_path=cli_config.config_path,
|
|
33
33
|
)
|
|
34
|
-
app_builder.build(output_path)
|
|
34
|
+
app_builder.build(output_path, is_silent=True)
|
|
35
35
|
manager: AsyncAmsdalManager | AmsdalManager
|
|
36
36
|
|
|
37
|
-
if AmsdalConfigManager().get_config().async_mode
|
|
38
|
-
manager = AsyncAmsdalManager()
|
|
39
|
-
else:
|
|
40
|
-
manager = AmsdalManager()
|
|
37
|
+
manager = AsyncAmsdalManager() if AmsdalConfigManager().get_config().async_mode else AmsdalManager()
|
|
41
38
|
|
|
42
39
|
manager.authenticate()
|
|
43
40
|
|
|
@@ -46,13 +46,10 @@ def secret_delete_command(
|
|
|
46
46
|
cli_config=cli_config,
|
|
47
47
|
config_path=cli_config.config_path,
|
|
48
48
|
)
|
|
49
|
-
app_builder.build(output_path)
|
|
49
|
+
app_builder.build(output_path, is_silent=True)
|
|
50
50
|
manager: AsyncAmsdalManager | AmsdalManager
|
|
51
51
|
|
|
52
|
-
if AmsdalConfigManager().get_config().async_mode
|
|
53
|
-
manager = AsyncAmsdalManager()
|
|
54
|
-
else:
|
|
55
|
-
manager = AmsdalManager()
|
|
52
|
+
manager = AsyncAmsdalManager() if AmsdalConfigManager().get_config().async_mode else AmsdalManager()
|
|
56
53
|
|
|
57
54
|
manager.authenticate()
|
|
58
55
|
|
|
@@ -68,13 +68,10 @@ def secret_list_command(
|
|
|
68
68
|
cli_config=cli_config,
|
|
69
69
|
config_path=cli_config.config_path,
|
|
70
70
|
)
|
|
71
|
-
app_builder.build(output_path)
|
|
71
|
+
app_builder.build(output_path, is_silent=True)
|
|
72
72
|
manager: AsyncAmsdalManager | AmsdalManager
|
|
73
73
|
|
|
74
|
-
if AmsdalConfigManager().get_config().async_mode
|
|
75
|
-
manager = AsyncAmsdalManager()
|
|
76
|
-
else:
|
|
77
|
-
manager = AmsdalManager()
|
|
74
|
+
manager = AsyncAmsdalManager() if AmsdalConfigManager().get_config().async_mode else AmsdalManager()
|
|
78
75
|
|
|
79
76
|
manager.authenticate()
|
|
80
77
|
|
|
@@ -48,13 +48,10 @@ def secret_add_command(
|
|
|
48
48
|
cli_config=cli_config,
|
|
49
49
|
config_path=cli_config.config_path,
|
|
50
50
|
)
|
|
51
|
-
app_builder.build(output_path)
|
|
51
|
+
app_builder.build(output_path, is_silent=True)
|
|
52
52
|
manager: AsyncAmsdalManager | AmsdalManager
|
|
53
53
|
|
|
54
|
-
if AmsdalConfigManager().get_config().async_mode
|
|
55
|
-
manager = AsyncAmsdalManager()
|
|
56
|
-
else:
|
|
57
|
-
manager = AmsdalManager()
|
|
54
|
+
manager = AsyncAmsdalManager() if AmsdalConfigManager().get_config().async_mode else AmsdalManager()
|
|
58
55
|
|
|
59
56
|
manager.authenticate()
|
|
60
57
|
|
|
@@ -68,13 +68,10 @@ def delete_allowlist_ip_command(
|
|
|
68
68
|
cli_config=cli_config,
|
|
69
69
|
config_path=cli_config.config_path,
|
|
70
70
|
)
|
|
71
|
-
app_builder.build(output_path)
|
|
71
|
+
app_builder.build(output_path, is_silent=True)
|
|
72
72
|
manager: AsyncAmsdalManager | AmsdalManager
|
|
73
73
|
|
|
74
|
-
if AmsdalConfigManager().get_config().async_mode
|
|
75
|
-
manager = AsyncAmsdalManager()
|
|
76
|
-
else:
|
|
77
|
-
manager = AmsdalManager()
|
|
74
|
+
manager = AsyncAmsdalManager() if AmsdalConfigManager().get_config().async_mode else AmsdalManager()
|
|
78
75
|
|
|
79
76
|
manager.authenticate()
|
|
80
77
|
|
|
@@ -33,10 +33,10 @@ def new_allowlist_ip_command(
|
|
|
33
33
|
Examples of usage:
|
|
34
34
|
|
|
35
35
|
```bash
|
|
36
|
-
amsdal cloud security allowlist
|
|
37
|
-
amsdal cloud security allowlist
|
|
38
|
-
amsdal cloud security allowlist
|
|
39
|
-
amsdal cloud security allowlist
|
|
36
|
+
amsdal cloud security allowlist new
|
|
37
|
+
amsdal cloud security allowlist new --ip-address 0.0.0.0
|
|
38
|
+
amsdal cloud security allowlist new --ip-address 0.0.0.0/24
|
|
39
|
+
amsdal cloud security allowlist new --ip-address 0.0.0.0,1.0.0.0/24
|
|
40
40
|
```
|
|
41
41
|
"""
|
|
42
42
|
from amsdal.errors import AmsdalCloudError
|
|
@@ -65,13 +65,10 @@ def new_allowlist_ip_command(
|
|
|
65
65
|
cli_config=cli_config,
|
|
66
66
|
config_path=cli_config.config_path,
|
|
67
67
|
)
|
|
68
|
-
app_builder.build(output_path)
|
|
68
|
+
app_builder.build(output_path, is_silent=True)
|
|
69
69
|
manager: AsyncAmsdalManager | AmsdalManager
|
|
70
70
|
|
|
71
|
-
if AmsdalConfigManager().get_config().async_mode
|
|
72
|
-
manager = AsyncAmsdalManager()
|
|
73
|
-
else:
|
|
74
|
-
manager = AmsdalManager()
|
|
71
|
+
manager = AsyncAmsdalManager() if AmsdalConfigManager().get_config().async_mode else AmsdalManager()
|
|
75
72
|
|
|
76
73
|
manager.authenticate()
|
|
77
74
|
|
|
@@ -45,13 +45,10 @@ def delete_basic_auth_command(
|
|
|
45
45
|
cli_config=cli_config,
|
|
46
46
|
config_path=cli_config.config_path,
|
|
47
47
|
)
|
|
48
|
-
app_builder.build(output_path)
|
|
48
|
+
app_builder.build(output_path, is_silent=True)
|
|
49
49
|
manager: AsyncAmsdalManager | AmsdalManager
|
|
50
50
|
|
|
51
|
-
if AmsdalConfigManager().get_config().async_mode
|
|
52
|
-
manager = AsyncAmsdalManager()
|
|
53
|
-
else:
|
|
54
|
-
manager = AmsdalManager()
|
|
51
|
+
manager = AsyncAmsdalManager() if AmsdalConfigManager().get_config().async_mode else AmsdalManager()
|
|
55
52
|
|
|
56
53
|
manager.authenticate()
|
|
57
54
|
|
|
@@ -68,13 +68,10 @@ def new_basic_auth_command(
|
|
|
68
68
|
cli_config=cli_config,
|
|
69
69
|
config_path=cli_config.config_path,
|
|
70
70
|
)
|
|
71
|
-
app_builder.build(output_path)
|
|
71
|
+
app_builder.build(output_path, is_silent=True)
|
|
72
72
|
manager: AsyncAmsdalManager | AmsdalManager
|
|
73
73
|
|
|
74
|
-
if AmsdalConfigManager().get_config().async_mode
|
|
75
|
-
manager = AsyncAmsdalManager()
|
|
76
|
-
else:
|
|
77
|
-
manager = AmsdalManager()
|
|
74
|
+
manager = AsyncAmsdalManager() if AmsdalConfigManager().get_config().async_mode else AmsdalManager()
|
|
78
75
|
|
|
79
76
|
manager.authenticate()
|
|
80
77
|
|
|
@@ -51,13 +51,10 @@ def retrieve_basic_auth_command(
|
|
|
51
51
|
cli_config=cli_config,
|
|
52
52
|
config_path=cli_config.config_path,
|
|
53
53
|
)
|
|
54
|
-
app_builder.build(output_path)
|
|
54
|
+
app_builder.build(output_path, is_silent=True)
|
|
55
55
|
manager: AsyncAmsdalManager | AmsdalManager
|
|
56
56
|
|
|
57
|
-
if AmsdalConfigManager().get_config().async_mode
|
|
58
|
-
manager = AsyncAmsdalManager()
|
|
59
|
-
else:
|
|
60
|
-
manager = AmsdalManager()
|
|
57
|
+
manager = AsyncAmsdalManager() if AmsdalConfigManager().get_config().async_mode else AmsdalManager()
|
|
61
58
|
|
|
62
59
|
manager.authenticate()
|
|
63
60
|
|
{amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/cloud/sub_commands/expose_db.py
RENAMED
|
@@ -48,13 +48,10 @@ def expose_db_command(
|
|
|
48
48
|
config_path=cli_config.config_path,
|
|
49
49
|
)
|
|
50
50
|
|
|
51
|
-
app_builder.build(output_path)
|
|
51
|
+
app_builder.build(output_path, is_silent=True)
|
|
52
52
|
manager: AsyncAmsdalManager | AmsdalManager
|
|
53
53
|
|
|
54
|
-
if AmsdalConfigManager().get_config().async_mode
|
|
55
|
-
manager = AsyncAmsdalManager()
|
|
56
|
-
else:
|
|
57
|
-
manager = AmsdalManager()
|
|
54
|
+
manager = AsyncAmsdalManager() if AmsdalConfigManager().get_config().async_mode else AmsdalManager()
|
|
58
55
|
|
|
59
56
|
manager.authenticate()
|
|
60
57
|
|
|
@@ -51,14 +51,11 @@ def get_monitoring_info(
|
|
|
51
51
|
config_path=cli_config.config_path,
|
|
52
52
|
)
|
|
53
53
|
|
|
54
|
-
app_builder.build(output_path)
|
|
54
|
+
app_builder.build(output_path, is_silent=True)
|
|
55
55
|
|
|
56
56
|
manager: AsyncAmsdalManager | AmsdalManager
|
|
57
57
|
|
|
58
|
-
if AmsdalConfigManager().get_config().async_mode
|
|
59
|
-
manager = AsyncAmsdalManager()
|
|
60
|
-
else:
|
|
61
|
-
manager = AmsdalManager()
|
|
58
|
+
manager = AsyncAmsdalManager() if AmsdalConfigManager().get_config().async_mode else AmsdalManager()
|
|
62
59
|
|
|
63
60
|
manager.authenticate()
|
|
64
61
|
|
{amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/migrations/sub_commands/apply.py
RENAMED
|
@@ -260,7 +260,7 @@ def apply_migrations(
|
|
|
260
260
|
cli_config=cli_config,
|
|
261
261
|
config_path=config or cli_config.config_path,
|
|
262
262
|
)
|
|
263
|
-
app_builder.build(build_dir)
|
|
263
|
+
app_builder.build(build_dir, is_silent=True)
|
|
264
264
|
|
|
265
265
|
if AmsdalConfigManager().get_config().async_mode:
|
|
266
266
|
asyncio.run(
|
{amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/migrations/sub_commands/list.py
RENAMED
|
@@ -74,7 +74,7 @@ def list_migrations(
|
|
|
74
74
|
cli_config=cli_config,
|
|
75
75
|
config_path=config or cli_config.config_path,
|
|
76
76
|
)
|
|
77
|
-
app_builder.build(build_dir)
|
|
77
|
+
app_builder.build(build_dir, is_silent=True)
|
|
78
78
|
|
|
79
79
|
if AmsdalConfigManager().get_config().async_mode:
|
|
80
80
|
_all_applied_migrations = asyncio.run(_async_fetch_migrations(build_dir / MIGRATIONS_DIR_NAME))
|
{amsdal_cli-0.4.10 → amsdal_cli-0.4.12}/src/amsdal_cli/commands/migrations/sub_commands/make.py
RENAMED
|
@@ -159,7 +159,7 @@ def make_migrations(
|
|
|
159
159
|
cli_config=cli_config,
|
|
160
160
|
config_path=config or cli_config.config_path,
|
|
161
161
|
)
|
|
162
|
-
app_builder.build(build_dir)
|
|
162
|
+
app_builder.build(build_dir, is_silent=True)
|
|
163
163
|
cli_config.models_format = ModelsFormat.PY
|
|
164
164
|
|
|
165
165
|
if AmsdalConfigManager().get_config().async_mode:
|
|
@@ -83,7 +83,7 @@ def build_app_and_check_migrations(
|
|
|
83
83
|
cli_config=cli_config,
|
|
84
84
|
config_path=config_path,
|
|
85
85
|
)
|
|
86
|
-
app_builder.build(output_path)
|
|
86
|
+
app_builder.build(output_path, is_silent=True)
|
|
87
87
|
|
|
88
88
|
amsdal_manager = AmsdalManager()
|
|
89
89
|
amsdal_manager.pre_setup()
|
|
@@ -341,7 +341,7 @@ async def async_build_app_and_check_migrations(
|
|
|
341
341
|
cli_config=cli_config,
|
|
342
342
|
config_path=config_path,
|
|
343
343
|
)
|
|
344
|
-
app_builder.build(output_path)
|
|
344
|
+
app_builder.build(output_path, is_silent=True)
|
|
345
345
|
|
|
346
346
|
amsdal_manager = AsyncAmsdalManager()
|
|
347
347
|
amsdal_manager.pre_setup()
|
|
@@ -38,6 +38,8 @@ class Settings(BaseSettings):
|
|
|
38
38
|
|
|
39
39
|
CHECK_AMSDAL_VERSIONS: bool = True
|
|
40
40
|
"""If True, the latest version of the amsdal modules will be checked and displayed."""
|
|
41
|
+
AMSDAL_APPLICATION_UUID: str | None = None
|
|
42
|
+
"""The UUID of the application."""
|
|
41
43
|
|
|
42
44
|
@field_validator('COMMANDS')
|
|
43
45
|
@classmethod
|