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
Instead of using argument variables, try using actual options which can make the work easier.
Over here, you need to check all the arg variables through if conditions which makes the process lengthy, error prone and time consuming. I suggest you to try using options instead which would make has pros on the above mentioned points and is much easier to use! There are many npm frameworks like commander and yargs which can do that. Follow this link which leads to use options through commander package.
Hope this helps
The text was updated successfully, but these errors were encountered:
Instead of using argument variables, try using actual options which can make the work easier.
![options](https://user-images.githubusercontent.com/60680215/133693836-e99b6ca1-0aca-4d47-b9fd-45cf0be66079.JPG)
Over here, you need to check all the arg variables through if conditions which makes the process lengthy, error prone and time consuming. I suggest you to try using options instead which would make has pros on the above mentioned points and is much easier to use! There are many npm frameworks like commander and yargs which can do that. Follow this link which leads to use options through commander package.
Hope this helps
The text was updated successfully, but these errors were encountered: