nit-cli 0.2.0__tar.gz → 0.3.0__tar.gz
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.
- {nit_cli-0.2.0/src/nit_cli.egg-info → nit_cli-0.3.0}/PKG-INFO +30 -4
- {nit_cli-0.2.0 → nit_cli-0.3.0}/README.md +29 -3
- {nit_cli-0.2.0 → nit_cli-0.3.0}/pyproject.toml +1 -1
- {nit_cli-0.2.0 → nit_cli-0.3.0}/src/nit/app.py +415 -21
- {nit_cli-0.2.0 → nit_cli-0.3.0}/src/nit/diff_parser.py +102 -1
- {nit_cli-0.2.0 → nit_cli-0.3.0}/src/nit/git.py +34 -0
- {nit_cli-0.2.0 → nit_cli-0.3.0}/src/nit/models.py +7 -0
- {nit_cli-0.2.0 → nit_cli-0.3.0/src/nit_cli.egg-info}/PKG-INFO +30 -4
- nit_cli-0.3.0/tests/test_diff_parser.py +355 -0
- {nit_cli-0.2.0 → nit_cli-0.3.0}/tests/test_git.py +71 -0
- nit_cli-0.2.0/tests/test_diff_parser.py +0 -175
- {nit_cli-0.2.0 → nit_cli-0.3.0}/LICENSE +0 -0
- {nit_cli-0.2.0 → nit_cli-0.3.0}/setup.cfg +0 -0
- {nit_cli-0.2.0 → nit_cli-0.3.0}/src/nit/__init__.py +0 -0
- {nit_cli-0.2.0 → nit_cli-0.3.0}/src/nit/cli.py +0 -0
- {nit_cli-0.2.0 → nit_cli-0.3.0}/src/nit/comments.py +0 -0
- {nit_cli-0.2.0 → nit_cli-0.3.0}/src/nit_cli.egg-info/SOURCES.txt +0 -0
- {nit_cli-0.2.0 → nit_cli-0.3.0}/src/nit_cli.egg-info/dependency_links.txt +0 -0
- {nit_cli-0.2.0 → nit_cli-0.3.0}/src/nit_cli.egg-info/entry_points.txt +0 -0
- {nit_cli-0.2.0 → nit_cli-0.3.0}/src/nit_cli.egg-info/requires.txt +0 -0
- {nit_cli-0.2.0 → nit_cli-0.3.0}/src/nit_cli.egg-info/top_level.txt +0 -0
- {nit_cli-0.2.0 → nit_cli-0.3.0}/tests/test_app.py +0 -0
- {nit_cli-0.2.0 → nit_cli-0.3.0}/tests/test_cli.py +0 -0
- {nit_cli-0.2.0 → nit_cli-0.3.0}/tests/test_comments.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: nit-cli
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Terminal diff viewer with inline review comments
|
|
5
5
|
Author: Joshua Zink-Duda
|
|
6
6
|
License-Expression: GPL-3.0-only
|
|
@@ -34,7 +34,14 @@ Navigate diffs with vim-style keybindings, leave comments on specific lines, and
|
|
|
34
34
|
## Install
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
|
-
|
|
37
|
+
pipx install nit-cli
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Or from source:
|
|
41
|
+
|
|
42
|
+
```bash
|
|
43
|
+
git clone https://github.com/joshuazd/nit.git
|
|
44
|
+
pipx install ./nit
|
|
38
45
|
```
|
|
39
46
|
|
|
40
47
|
## Usage
|
|
@@ -103,7 +110,26 @@ echo '.nit.json' >> ~/.config/git/ignore
|
|
|
103
110
|
|
|
104
111
|
## Claude Code Integration
|
|
105
112
|
|
|
106
|
-
nit works as a review tool for [Claude Code](https://docs.anthropic.com/en/docs/claude-code). Leave comments on Claude's changes using nit, then have Claude read them with
|
|
113
|
+
nit works as a review tool for [Claude Code](https://docs.anthropic.com/en/docs/claude-code). Leave comments on Claude's changes using nit, then have Claude read them with `/nit`. This creates a feedback loop where you can guide Claude's work through inline code review.
|
|
114
|
+
|
|
115
|
+
### Install the plugin
|
|
116
|
+
|
|
117
|
+
In Claude Code:
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
/plugin marketplace add joshuazd/nit
|
|
121
|
+
/plugin install nit
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
Then use `/nit` in any project to have Claude read and address your comments.
|
|
125
|
+
|
|
126
|
+
### Local development
|
|
127
|
+
|
|
128
|
+
If you cloned the repo, you can test the plugin directly:
|
|
129
|
+
|
|
130
|
+
```bash
|
|
131
|
+
claude --plugin-dir /path/to/nit
|
|
132
|
+
```
|
|
107
133
|
|
|
108
134
|
## Development
|
|
109
135
|
|
|
@@ -114,7 +140,7 @@ pip install -e ".[dev]"
|
|
|
114
140
|
pytest
|
|
115
141
|
```
|
|
116
142
|
|
|
117
|
-
The `./nit` bootstrap script auto-creates a virtualenv for quick local use without manual
|
|
143
|
+
The `./nit` bootstrap script auto-creates a virtualenv at `~/.local/share/nit/venv` for quick local use without a manual install.
|
|
118
144
|
|
|
119
145
|
## License
|
|
120
146
|
|
|
@@ -7,7 +7,14 @@ Navigate diffs with vim-style keybindings, leave comments on specific lines, and
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
|
|
10
|
+
pipx install nit-cli
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Or from source:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
git clone https://github.com/joshuazd/nit.git
|
|
17
|
+
pipx install ./nit
|
|
11
18
|
```
|
|
12
19
|
|
|
13
20
|
## Usage
|
|
@@ -76,7 +83,26 @@ echo '.nit.json' >> ~/.config/git/ignore
|
|
|
76
83
|
|
|
77
84
|
## Claude Code Integration
|
|
78
85
|
|
|
79
|
-
nit works as a review tool for [Claude Code](https://docs.anthropic.com/en/docs/claude-code). Leave comments on Claude's changes using nit, then have Claude read them with
|
|
86
|
+
nit works as a review tool for [Claude Code](https://docs.anthropic.com/en/docs/claude-code). Leave comments on Claude's changes using nit, then have Claude read them with `/nit`. This creates a feedback loop where you can guide Claude's work through inline code review.
|
|
87
|
+
|
|
88
|
+
### Install the plugin
|
|
89
|
+
|
|
90
|
+
In Claude Code:
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
/plugin marketplace add joshuazd/nit
|
|
94
|
+
/plugin install nit
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Then use `/nit` in any project to have Claude read and address your comments.
|
|
98
|
+
|
|
99
|
+
### Local development
|
|
100
|
+
|
|
101
|
+
If you cloned the repo, you can test the plugin directly:
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
claude --plugin-dir /path/to/nit
|
|
105
|
+
```
|
|
80
106
|
|
|
81
107
|
## Development
|
|
82
108
|
|
|
@@ -87,7 +113,7 @@ pip install -e ".[dev]"
|
|
|
87
113
|
pytest
|
|
88
114
|
```
|
|
89
115
|
|
|
90
|
-
The `./nit` bootstrap script auto-creates a virtualenv for quick local use without manual
|
|
116
|
+
The `./nit` bootstrap script auto-creates a virtualenv at `~/.local/share/nit/venv` for quick local use without a manual install.
|
|
91
117
|
|
|
92
118
|
## License
|
|
93
119
|
|