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
{{ message }}
This repository was archived by the owner on Dec 15, 2020. It is now read-only.
There isn't a -h flag or a piece of code that detects if the user tried to pass a flag instead of a folder name causing a non expected folder creation.
Instead of returning help information for users about init script, it just creates a folder called -h and it's impossible(at least for beginners) to erase it because when running rm -h, rm -rf -h, rm -rf '\-h' it doesn't removes the folder
Expected behaviour
Prevent the user in creating tricky folders with flag names like create-react-app does.
Solution
Not yet
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
There isn't a
-h
flag or a piece of code that detects if the user tried to pass a flag instead of a folder name causing a non expected folder creation.Steps to Reproduce:
react-360 init -h
Instead of returning help information for users about
init
script, it just creates a folder called-h
and it's impossible(at least for beginners) to erase it because when runningrm -h
,rm -rf -h
,rm -rf '\-h'
it doesn't removes the folderExpected behaviour
Prevent the user in creating tricky folders with flag names like
create-react-app
does.Solution
Not yet
The text was updated successfully, but these errors were encountered: