aaz-dev-tools
aaz-dev-tools copied to clipboard
Drop tree.json
Description The tree.json file is growing bigger and will cause problem for git command one day. So it is required to drop tree.json file in git repo and generate it only in local cache.
Backend
- Add a new class
CMDSpecsPartialCommandTreeto support partial commands and command groups management. - Through overwriting the
__getitem__method ofCMDSpecsCommandDictandCMDSpecsCommandGroupDict, support similar interface of PartialCommandTree and a full CommandTree. - Make
versionsofCLISpecsCommandoptional to clarify whether it is a partial command. - Change
export_levelofcommand_groupsandcommandsinCMDSpecsCommandtoNOT_NONEto clarify whether it is a partial command group or a command group without child.
Frontend
- Rewrite the
CLIModGeneratorProfileCommandTree. Change it from class component to function component. - Support dynamic load of command tree node in
ModGenerator. - Add new property
selectedtoProfileCTCommandandProfileCTCommandGroupto mark selection state no matter it is loaded or not. - Change
ProfileCommandTreeto object instead of list.