Closed iluxonchik closed 11 months ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi @iluxonchik, thank you for opening the issue as well as proposing a fix! Having helpful guide text for the CLI is certainly helpful. Thanks for the contribution!
This Merge Request addresses issue https://github.com/jaketae/storyteller/issues/13 where the
storyteller --help
command does not provide enough information about the arguments. The argparse module is used to handle command-line arguments, but the descriptions and defaults were not added to the arguments.To fix this issue, I have added detailed descriptions and default values to the arguments in the argparse code. In the process I have also refactored parts the code, which I have made more modular.
As a result, when running
storyteller --help
, the arguments will have clear descriptions and defaults, making it easier for users to understand how to use the command-line interface. I have also updated the documentation to reflect the changes made to the command-line interface. In addition, I have added a clearer example on how to run the demo using custom parameters in theREADME
.I was not able to install the git pre-commit hooks, as the dev target appears to be missing. I did however, format the code using Black, as is mentioned in the repository description.