Page MenuHomeSoftware Heritage

typo in the identify function in swh-model/swh/model/cli.py
Closed, MigratedEdits Locked

Description

The cli command should be swh-identify. Examples and the subheading show swh identify (without the dash).
Other places (the Pypi docs and Readme for developers) show the correct command.
https://docs.softwareheritage.org/devel/swh-model/cli.html
https://forge.softwareheritage.org/source/swh-model/browse/master/swh/model/cli.py

Event Timeline

pawarhrishi21 created this task.
pawarhrishi21 created this object in space S1 Public.
pawarhrishi21 updated the task description. (Show Details)
zack added a subscriber: zack.

No, swh identify is correct, as all SWH CLI commands register as sub-commands of the main swh executable.