Skip to content

Commit 191eec0

Browse files
committed
refactor(xtask): migrate project renaming logic from shell script to rust implementation
1 parent e098fe0 commit 191eec0

File tree

4 files changed

+351
-280
lines changed

4 files changed

+351
-280
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,14 @@ Use this repository as a GitHub template to quickly start a new Rust project.
2121
## Getting Started
2222

2323
1. Create a new repository using this template
24-
2. Clone your repository and run the rename script:
25-
- **Linux/macOS:** `./rename-project.sh`
26-
- **Windows:** `.\rename-project.ps1`
24+
2. Clone your repository and run the bootstrap command:
25+
```bash
26+
cargo xtask bootstrap
27+
```
28+
Or with arguments:
29+
```bash
30+
cargo xtask bootstrap --project-name my-project --github-account my-username
31+
```
2732
3. Follow the prompts, review changes, and commit
2833
4. Start building your project!
2934

rename-project.ps1

Lines changed: 0 additions & 133 deletions
This file was deleted.

rename-project.sh

Lines changed: 0 additions & 144 deletions
This file was deleted.

0 commit comments

Comments
 (0)