@tanagram/cli 0.1.23 → 0.1.25
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 +23 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -97,10 +97,31 @@ tanagram help
|
|
|
97
97
|
- **`help`** - Show usage information
|
|
98
98
|
|
|
99
99
|
### Claude Code Hook
|
|
100
|
-
You can install the CLI as a Claude Code [hook](https://code.claude.com/docs/en/hooks) to have Claude automatically iterate on Tanagram's output.
|
|
100
|
+
You can install the CLI as a Claude Code [hook](https://code.claude.com/docs/en/hooks) to have Claude automatically iterate on Tanagram's output.
|
|
101
|
+
|
|
102
|
+
Add this to your `~/.claude/settings.json` (user settings) or `.claude/settings.json` (project settings):
|
|
103
|
+
|
|
104
|
+
```json
|
|
105
|
+
"hooks": {
|
|
106
|
+
"PostToolUse": [
|
|
107
|
+
{
|
|
108
|
+
"matcher": "Edit|Write",
|
|
109
|
+
"hooks": [
|
|
110
|
+
{
|
|
111
|
+
"type": "command",
|
|
112
|
+
"command": "tanagram"
|
|
113
|
+
}
|
|
114
|
+
]
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
}
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
For example, your full `settings.json` file might look like this:
|
|
101
121
|
|
|
102
122
|
```json
|
|
103
123
|
{
|
|
124
|
+
"alwaysThinkingEnabled": true,
|
|
104
125
|
"hooks": {
|
|
105
126
|
"PostToolUse": [
|
|
106
127
|
{
|
|
@@ -215,4 +236,4 @@ Then run `tanagram` to enforce them locally!
|
|
|
215
236
|
|
|
216
237
|
---
|
|
217
238
|
|
|
218
|
-
Built by [@fluttermatt](https://x.com/fluttermatt) and the Tanagram team. Talk to us [on Twitter](https://x.com/tanagram_) or email: founders AT tanagram.ai
|
|
239
|
+
Built by [@fluttermatt](https://x.com/fluttermatt) and the [Tanagram](https://tanagram.ai/) team. Talk to us [on Twitter](https://x.com/tanagram_) or email: founders AT tanagram.ai
|