blamewise 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +42 -0
- package/dist/blamewise.js +4656 -0
- package/package.json +33 -0
package/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# blamewise
|
|
2
|
+
|
|
3
|
+
A CLI tool that helps new team members understand code ownership and change history using local git data. Zero cloud dependencies, fully private.
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
bun install
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
### Who knows this file?
|
|
14
|
+
|
|
15
|
+
Rank authors by expertise on a file (lines owned + commit frequency + recency):
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
bun run src/cli.ts who-knows <path>
|
|
19
|
+
bun run src/cli.ts who-knows src/index.ts -n 5
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### Why did this file change?
|
|
23
|
+
|
|
24
|
+
Show recent commits with reasons for changes:
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
bun run src/cli.ts why <path>
|
|
28
|
+
bun run src/cli.ts why src/index.ts -n 10
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Options
|
|
32
|
+
|
|
33
|
+
| Flag | Default | Description |
|
|
34
|
+
|------|---------|-------------|
|
|
35
|
+
| `-n, --num` | 10 (who-knows) / 5 (why) | Number of results to show |
|
|
36
|
+
|
|
37
|
+
## Development
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
bun run src/cli.ts --help
|
|
41
|
+
bun test
|
|
42
|
+
```
|