feat: rename create and delete commands to add and del

This commit is contained in:
2026-03-29 19:46:43 +02:00
parent 68f4b67283
commit 535626d198
5 changed files with 23 additions and 23 deletions

View File

@@ -28,10 +28,10 @@ go build -o ax .
ax init .
# Create an issue
ax create "Implement feature X" --tag backend --prio high
ax add "Implement feature X" --tag backend --prio high
# Create with relations
ax create "Fix bug in auth" --rel blocks:abc12
ax add "Fix bug in auth" --rel blocks:abc12
# List open issues
ax list --status open
@@ -55,7 +55,7 @@ ax alias mywork "list --namespace myproject --status open" --desc "My project ta
Create a new `.ax.db` database in the specified directory (default: current).
### `ax create <title> [flags]`
### `ax add <title> [flags]`
Create a new node.
@@ -108,7 +108,7 @@ Query and list nodes.
Open node content in `$EDITOR`.
### `ax delete <id> [-f|--force]`
### `ax del <id> [-f|--force]`
Delete a node. Prompts for confirmation unless `--force`.
@@ -163,10 +163,10 @@ Relations connect nodes together:
```bash
# Create subtask
ax create "Write tests" --rel subtask:abc12
ax add "Write tests" --rel subtask:abc12
# Block an issue
ax create "Fix login" --rel blocks:def34
ax add "Fix login" --rel blocks:def34
# Assign to user
ax update abc12 --rel assignee:alice
@@ -178,10 +178,10 @@ Tags are flexible labels. Tags with pattern `_key::value` are properties:
```bash
# Regular tag
ax create "Task" --tag backend
ax add "Task" --tag backend
# Property tags (set via flags)
ax create "Task" --type issue --status open --prio high
ax add "Task" --type issue --status open --prio high
# Equivalent to: --tag _type::issue --tag _status::open --tag _prio::high
```
@@ -199,7 +199,7 @@ ax create "Task" --type issue --status open --prio high
Use `@username` in title or content to automatically add to user's inbox:
```bash
ax create "Review PR @alice" --content "@bob please check"
ax add "Review PR @alice" --content "@bob please check"
# Both alice and bob get this in their inbox
```