bun icon indicating copy to clipboard operation
bun copied to clipboard

init command configures & creates package.json

Open MrScriptX opened this issue 2 years ago • 2 comments

#381 This is a starting point for the init command. The main code is found inside src/cli/init_command.zig.

There are issues that needs to be address with the code in this pull request.

Issues

  • Will not work on Windows because it doesn't recognize '\r\n' line break. It's not an issue now, but keep it in mind.
  • Maybe some options are missing like package version or adding script command.
  • Haven't been able to test it with bun (can't compile bun as of now).

MrScriptX avatar Jul 18 '22 12:07 MrScriptX

Thank you for this. Bun definitely needs a bun init command

Jarred-Sumner avatar Jul 18 '22 18:07 Jarred-Sumner

bun init is already here, can we close this?

cc @Jarred-Sumner

xhyrom avatar Aug 15 '22 10:08 xhyrom