Repository navigation
Changes to the commands that sortdo builds from Sort's tools, such as sortdo pages subpages and --cursor, reach every installed sortdo within a day of a Sort update, before this release.
sortdo inboxis nowsortdo notifications, with the same actions (list,mark-read,archive,list-approvalsand the others). Credentials limited to theinboxarea now usenotifications:readandnotifications:write; Sort changed existing ones for you.sortdo pages subpages --page-id <id>lists the sub-pages directly under a page.sortdo messages read-thread --message-id <id>reads a thread;sortdo messages readreads a conversation's timeline and needs--conversation-id. New:sortdo messages get,open-direct,mark-thread-read,mute-thread,unmute-threadandpage-threads.sortdo messages savetakes--remind-at.sortdo channels create-webhookandrenew-webhookwait for your approval in Sort, and the webhook's address shows there once, only to you.- The page lists (
sortdo pages versions,trash,recentandshared-with-me) show more with--cursor, thenextCursorof the result before, instead of--offset.sortdo pages add-attachmenttakes up to 100 files. sortdo do-search --type pagesno longer needs--query: without it, it lists the most recently edited pages that match the other options. With--json, its results have the same fields as in the HTTP API.- A server error while sortdo renews your sign-in no longer signs you out. Run the command again in a minute.
sortdo login pollkeeps the waiting sign-in when Sort cannot be reached, so you can run it again.- Command help titles use a colon, and empty values show as
-, so they display the same in every terminal. - With
--json,sortdo view-content,sortdo create-page,sortdo update-page,sortdo pages createandsortdo pages editprint the whole result as JSON fields, such as the new page'spageIdor the saved edit'sapplied.rev, instead of a sentence.
Install or update:
- macOS and Linux:
curl -fsSL https://sort.do/install | bash - Windows:
irm https://sort.do/install.ps1 | iex - npm:
npm install -g sortdo - Homebrew:
brew install sortdo/tap/sortdo - winget:
winget install Sort.sortdo - Already installed:
sortdo update
Check a download: sha256sum -c checksums.txt --ignore-missing, or gh attestation verify <file> --repo sortdo/cli.