Closed shiroyama closed 2 years ago
looked into the pipeline failures briefly, it may be that 'deprecated' library needs to be added into requirements.txt
@marianan My apologies, the deprecated
was accidentally added to the import list. By removing it everything seems working. Now the pipeline is all green. It'd be really nice if you could take a look again! Cheers!
Checklist
This checklist is used to make sure that common guidelines for a pull request are followed.
General guidelines
Description
Some commands can be called in two different ways (for instance,
iotedgedev init
andiotedgev solution init
). Eventually, this duplication should be removed to simplify the tool. This is a breaking change, though; so before implementing it in the next major release, we should add a deprecation notice in such commands. This deprecation notice should be added to the help message and printed when the command is run. This can be done by settingdeprecated=True
in theclick.Command()
decorator (see documentation).Note that the reason for this duplication is that the commands are added to two
click
groups (main
andsolution
). The commands that should be deprecated are the ones corresponding to themain
group.Fixes #559
Additional information