Data Exploration ¶
Use list for scriptable output and tui for interactive browsing.
List Posts ¶ #
# Default table output
markata-go list posts
# Path-only output for piping
markata-go list posts --format path
# Filter posts with an expression
markata-go list posts --filter "published == true and 'go' in tags"
# Sort by title, ascending
markata-go list posts --sort title --order asc
# List posts for a feed
markata-go list posts --feed blog
List Tags ¶ #
# Table output
markata-go list tags
# JSON output for scripts
markata-go list tags --format json
List Feeds ¶ #
# Table output
markata-go list feeds
# CSV output for spreadsheets
markata-go list feeds --format csv
# List posts for a feed
markata-go list feeds posts blog
# List post paths for a feed
markata-go list feeds posts blog --format path
Path-Only Output ¶ #
The path format prints one value per line for easy piping:
# Open each post in your editor
markata-go list posts --format path | xargs -n 1 $EDITOR
# Create a tag list file
markata-go list tags --format path > tags.txt
Interactive Browsing ¶ #
For a full-screen view with filtering and sorting:
markata-go tui
Cache ¶ #
list and tui use a persistent cache at .markata/cache/list.json. It updates automatically when files change. Delete the file to force a full refresh.