Skip to content

[Feature] Add CLI search command and missing CRUD commands #187

@d-oit

Description

@d-oit

Description

The CLI currently has 6 commands but is missing several important operations that the repository layer supports:

Missing Commands

Command Description
search <query> Full-text search from CLI
entity-update <name> [-t type] [-d desc] Update existing entity
entity-delete <name> Delete an entity
entity-get <name> Show entity details
link-create <source> <target> [-r relation] Create a link
link-list List all links
link-delete <id> Delete a link
note-create <entity> <content> Add a note
note-list <entity> List notes for entity
snapshot-list List graph snapshots
db:backup Create database backup
db:reset Reset database
db:migrate Run migrations

Current CLI Commands (6)

init, sync, export, entity-create, entity-list, claim-create

Acceptance Criteria

  • search command with FTS5 query support
  • entity-update, entity-delete, entity-get commands
  • link-create, link-list, link-delete commands
  • note-create, note-list commands
  • db:backup, db:reset commands
  • All new commands have --help documentation
  • CLI tests added

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: cliCLI toolduplicateThis issue or pull request already existsfeatureNew feature requestpriority: mediumMedium priority

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions