Azure / autorest.az

Azure CLI Code Generator
MIT License
22 stars 20 forks source link

[Bug] Wrong experimental label in generated code #738

Closed qwordy closed 3 years ago

qwordy commented 3 years ago

When I generated ssh, I got

    with self.command_group('vm', is_experimental=True):
        pass

vm is mature. Can we remove experimental?

readme.az.md:

az:
  extensions: vm
  namespace: azure.mgmt.compute
  package-name: azure-mgmt-compute
az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/vm
python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/vm"
cli:
    cli-directive:
        - where:
            group: "*"
            op: "*"
          hidden: true
        - where:
            group: "SshPublicKeys"
            op: "*"
          hidden: false
directive: 
  - where: 
      command: vm ssh-public-key
    set:
      command: sshkey
changlong-liu commented 3 years ago

can do it with parameter in readme.az.md:

extension-mode: stable