Closed YanaXu closed 1 year ago
In directive of "README.md", I add the following part:
- model-cmdlet: - SqlVirtualMachine
After I run autorest and .\build-module.ps1, I find below files.
PS \SqlVirtualMachine> ls -Recurse New-AzSqlVirtualMachineObject* | Resolve-Path -Relative .\custom\autogen-model-cmdlets\New-AzSqlVirtualMachineObject.ps1 .\docs\New-AzSqlVirtualMachineObject.md .\examples\New-AzSqlVirtualMachineObject.md .\exports\New-AzSqlVirtualMachineObject.ps1 .\test\New-AzSqlVirtualMachineObject.Tests.ps1
I remove the model-cmdlet part from "README.md", and run autorest & build-module.ps1 again. These files are still there. It feels like the removal of "model-cmdlet" is not working. If these files are untouched, they should be removed somehow.
We need to clean the custom\autogen-model-cmdlets folder when regenerating the module.
Fixed in https://github.com/Azure/autorest.powershell/pull/1128.
In directive of "README.md", I add the following part:
After I run autorest and .\build-module.ps1, I find below files.
I remove the model-cmdlet part from "README.md", and run autorest & build-module.ps1 again. These files are still there. It feels like the removal of "model-cmdlet" is not working. If these files are untouched, they should be removed somehow.