JoshuaKGoldberg / JoshuaKGoldberg/create-typescript-app
🐛 Bug: cli gives confusing `npx` command instructions
- Dominant language
- TypeScript
- Stars
- 1.4k
- Forks
- 89
- Avg merge
- 1m
- Merged PRs (30d)
- 3
Description
### Bug Report Checklist
- [x] I have tried restarting my IDE and the issue persists.
- [x] I have pulled in the newest version of the project.
- [x] I have [searched for related issues](https://github.com/JoshuaKGoldberg/create-typescript-app/issues?q=is%3Aissue) and found none that matched my issue.
### Expected
This is my first time using the cli to create a repo, rather than the template button on the UI (wanting the repo settings features), and all it did was create the repo locally.
### Actual
It didn't set anything up on GitHub. It left this message about running `npx index.js --remote`, which I thought was strange, since , if there was an index.js file, I would expect the command to be `node index.js --remote`, not `npx`. Nonetheless, I tried both and both failed to do anything.
### Additional Info
_No response_
Contributor guide
Research direction
Start by reproducing the CLI flow described in the issue and inspect where the `npx index.js --remote` instruction is generated. Verify what the local and remote setup commands actually do, then update the instruction so a first-time user can run the intended command successfully and confirm the behavior with the CLI flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nodejs, typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 48/100