akileez / test-npinit

Documenting the process of re-working "npinit" and re-learning git.
ISC License
1 stars 0 forks source link

clean up argv options #11

Open akileez opened 3 years ago

akileez commented 3 years ago

many options are either missing, named something else or not assigned to anything. And the fugliness of the code!! perhaps using a cache object to hold/store/transpose said items would help.

akileez commented 3 years ago

forgot about these changes. From npinit readme:

Changes [WIP]


verbose option added (--verbose). displays standard output from git init and npm install using both options -rg or --repo --github generates a private repo only. private overrides public if project name is "test" with option of --github then a private repo will only be generated. I am making the assumption that you will not call a public repo "test". You can override this by naming the project "test1" if you like.

akileez commented 3 years ago

directly related to #8

akileez commented 3 years ago

directly related to #7 as well

akileez commented 3 years ago

start working on this... d151f9875b139af7f1b306dc40b7f878d735d6c4