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
This would allow you to add without a config file. Much nicer than erroring without a config file. Tests and diffs should still require one though.
Basically in the add command it would prompt you:
1. Would you like to add a config? Y/n (recommended)
-- yes path --
run `init`
-- no path --
wait until after blocks are selected
where would you like to add the blocks?
src/blocks
would you like to include tests? y/N
I think this would be nice if a library wanted to just tell their users to install their components by saying:
npx jsrepo add github/ieedan/std/utilities/math
The text was updated successfully, but these errors were encountered:
I think users not using a config should be prompted by the cli when running add along the lines of:
You don't have jsrepo initialized in your project. Do you want to continue?
y/N
after: After the user has chosen the blocks they want to install
if: Y
Where would you like to install the blocks?
<path>
if: any of the blocks have tests
Include tests?
y/N
Add a watermark?
Y/n
This would allow you to add without a config file. Much nicer than erroring without a config file. Tests and diffs should still require one though.
Basically in the
add
command it would prompt you:I think this would be nice if a library wanted to just tell their users to install their components by saying:
The text was updated successfully, but these errors were encountered: