- No.
- Unlike command modules, extensions can be named as you like.
- No.
- Therefore, extensions can't be dependent on other extensions.
- See Extension Metadata.
- Specify the namespace when generating your SDK.
- The namespace should not be under
azure.*
. - Choose a name that's unlikely to conflict with another extension also.
- Move your
__init__.py
file (and other files) fromazext_*
toazure.cli.command_modules.MODNAME
. - Add a dependency on
azure-cli-core
to yoursetup.py
. - Rename your package to start with
azure-cli-*
. - If you rely on an Azure autorest SDK, release the SDK at azure-sdk-for-python and add it as a dependency.
- Create a PR to Azure/azure-cli.