Skip to content

Commit 64524b4

Browse files
hmansclaude
andcommitted
feat!: rename beans prompt to beans prime
- Rename cmd/prompt.go to cmd/prime.go - Update command name from "prompt" to "prime" - Update root.go to skip initialization for "prime" command - Update README.md documentation references 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent bf738c4 commit 64524b4

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,24 +64,24 @@ Beans integrates with [Claude Code](https://claude.ai/code) via hooks. Add this
6464
"SessionStart": [
6565
{
6666
"matcher": "",
67-
"hooks": [{ "type": "command", "command": "beans prompt" }]
67+
"hooks": [{ "type": "command", "command": "beans prime" }]
6868
}
6969
],
7070
"PreCompact": [
7171
{
7272
"matcher": "",
73-
"hooks": [{ "type": "command", "command": "beans prompt" }]
73+
"hooks": [{ "type": "command", "command": "beans prime" }]
7474
}
7575
]
7676
}
7777
}
7878
```
7979

80-
This runs `beans prompt` at session start and before context compaction, injecting instructions that teach Claude to use Beans for task tracking instead of its built-in TodoWrite tool.
80+
This runs `beans prime` at session start and before context compaction, injecting instructions that teach Claude to use Beans for task tracking instead of its built-in TodoWrite tool.
8181

8282
### Other Agents
8383

84-
You can use Beans with other coding agents by configuring them to run `beans prompt` to get the prompt instructions for task management. We'll add specific integrations for popular agents over time.
84+
You can use Beans with other coding agents by configuring them to run `beans prime` to get the prompt instructions for task management. We'll add specific integrations for popular agents over time.
8585

8686
## Usage
8787

cmd/prompt.go renamed to cmd/prime.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ type promptData struct {
2020
Priorities []config.PriorityConfig
2121
}
2222

23-
var promptCmd = &cobra.Command{
24-
Use: "prompt",
23+
var primeCmd = &cobra.Command{
24+
Use: "prime",
2525
Short: "Output instructions for AI coding agents",
26-
Long: `Outputs a prompt that instructs AI coding agents on how to use the beans CLI to manage project issues.`,
26+
Long: `Outputs a prompt that primes AI coding agents on how to use the beans CLI to manage project issues.`,
2727
Args: cobra.NoArgs,
2828
RunE: func(cmd *cobra.Command, args []string) error {
2929
// If no explicit path given, check if a beans project exists
@@ -61,5 +61,5 @@ var promptCmd = &cobra.Command{
6161
}
6262

6363
func init() {
64-
rootCmd.AddCommand(promptCmd)
64+
rootCmd.AddCommand(primeCmd)
6565
}

cmd/root.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ var rootCmd = &cobra.Command{
2121
Track your work alongside your code and supercharge your coding agent with
2222
a full view of your project.`,
2323
PersistentPreRunE: func(cmd *cobra.Command, args []string) error {
24-
// Skip core initialization for init and prompt commands
25-
if cmd.Name() == "init" || cmd.Name() == "prompt" {
24+
// Skip core initialization for init and prime commands
25+
if cmd.Name() == "init" || cmd.Name() == "prime" {
2626
return nil
2727
}
2828

0 commit comments

Comments
 (0)