cli icon indicating copy to clipboard operation
cli copied to clipboard

feat: allow providing current directory in `init` command

Open szymonrybczak opened this issue 1 year ago • 0 comments

Summary:

Context: https://github.com/react-native-community/cli/pull/365#issuecomment-2298684999.

Test Plan:

  1. Clone the repository and do all the required steps from the Contributing guide
  2. Run this command:
node /path/to/react-native-cli/packages/cli/build/bin.js init asdf --directory ./
  1. Should create project in current directory, if it contains some files it should ask what to do before.

Checklist

  • [x] Documentation is up to date to reflect these changes.
  • [x] Follows commit message convention described in CONTRIBUTING.md

szymonrybczak avatar Aug 28 '24 14:08 szymonrybczak