Open lwasser opened 1 year ago
Hi @lwasser , thank you so much for taking time to review scicookie!
Agree, we can improve that adding some explanation before each question, maybe with a link to a documentation as well. And reword some questions to make it clear. I will take a look into that this week to start some prototype :)
about the command line comment, I think that if the user don't know what is the command line normally the user will just skip the question. Adding more explanation and a link to the documentation, maybe would be enough to address the issue you mentioned.
Also, maybe the user would like to have CLI + API, so that is why we have this option like that.
The error you showed maybe is because this confusion about package slug (the names used when we use import
) and project slug (the name used for the repository).
about the validation, I think that is a good idea, we can have a step for validation for each question.
about the build system, we just have poetry for now. last week we had some improvements in the structure to allow more build-system and @Anavelyz @YurelyCamacho and @ayeankit are already working to provide more options.
about your comment on slack about copier, I took a look into that, and looks nice. for now we changed to cookieninja, but we will keep one eyes on that.
a good point about scicookie is that, as it is now a package, we can change the backend (cookiecutter, cookieninja or copier) without changing the user experience.
now we are using inquirer for the text user interface (tui), but we can investigate other options as well.
thank you so much for your review, if you don't mind I will ping you again for another round of review :)
@lwasser , when you have time, I would love to hear your feedback about the version 0.6.1
Description
Describe what you were trying to get done. Tell us what happened, what went wrong, and what you expected to happen.
What I Did
I went through the entire
scicookie
command line interface and ran into some quirksHere when i selected a license, i thought i would type in an answer but instead i think i was supposed to use the arrow keys. this was not intuitive and i ended up selecting a license that i didn't want by mistake. after a few questions i figured it out. i suggest adding the prompt some text that says "use the up and down keys on your keyboard to highlight the license that you wish to select". Be very clear. Most cookie cutters that i've used don't have this feature. i think it's super nice but you need to tell people how to use it.
The command line interface is interesting. I suspect if a scientist who has never written a command line utility reads this they will not know what to select. can you ask the users if it's a command line utility vs a python API type tool that might run in jupyter etc first and skip that question if it's not command line? Also could you provide a bit more info about the command line part (thinking about new users)
At the end it just failed.
What is hard about this is you go through the entire process and it fails at the end. can you make it check input and provide guidance as you go rather than at the very end??
Build tools
i'm unclear after this all gets setup can you suggest build tools? maybe it just errored out before i got to that section but i'm curious what tools you offer and how you guide users to selecting a tool.
This overall will be really great once i think a few of the above quirks can be cleaned up (or perhaps it's user error and you just need a bit more guidance to help users make better decisions) :) Great work - happy to review again if it's useful!!