Skip to content

Conversation

@sysid
Copy link
Owner

@sysid sysid commented Oct 19, 2025

Summary

  1. JSON output flag for view command: The view command now supports a --json flag that outputs note data as JSON instead of opening in the browser
  2. List command: A new list command that displays all notes or searches by front field content

Testing

# List all notes
ankiview list

# Search notes by front field
ankiview list "Tree"

# View note as JSON
ankiview view --json 1234567890

# Global flags work in any position
ankiview -c path/to/collection.anki2 list
ankiview list -c path/to/collection.anki2

@sysid sysid merged commit e6202bf into main Oct 19, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants