You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time I create a new project, my immediate next action is to cd into project directory and either open it in my editor or run make setup. Things get more complicated if project slug is different from actual name.
My current workaround is to copy-paste slug suggested from neuro project init prompt which adds a manual step and complicates writing tutorials.
I see a few possible solutions:
Automatically change into project directory, then the name can be obtained using ${PWD##*/}. Drawback is some users might not expect this side effect from running the cli. git init and Create React App don't cd.
Take directory name as an optional argument in neuro project init: check if it's a valid slug and default slug and long name to it. git init does the same.
I am favoring no. 2 as it can also make neuro project init ask less questions. I am using React scaffolding as an example.
The text was updated successfully, but these errors were encountered:
Every time I create a new project, my immediate next action is to
cd
into project directory and either open it in my editor or runmake setup
. Things get more complicated if project slug is different from actual name.My current workaround is to copy-paste slug suggested from
neuro project init
prompt which adds a manual step and complicates writing tutorials.I see a few possible solutions:
Automatically change into project directory, then the name can be obtained using
${PWD##*/}
. Drawback is some users might not expect this side effect from running the cli.git init
and Create React App don'tcd
.Take directory name as an optional argument in
neuro project init
: check if it's a valid slug and default slug and long name to it.git init
does the same.I am favoring no. 2 as it can also make
neuro project init
ask less questions. I am using React scaffolding as an example.The text was updated successfully, but these errors were encountered: