Skip to content

v0.2.0

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Nov 11:20

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 inbox is now sortdo notifications, with the same actions (list, mark-read, archive, list-approvals and the others). Credentials limited to the inbox area now use notifications:read and notifications: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 read reads a conversation's timeline and needs --conversation-id. New: sortdo messages get, open-direct, mark-thread-read, mute-thread, unmute-thread and page-threads. sortdo messages save takes --remind-at.
  • sortdo channels create-webhook and renew-webhook wait for your approval in Sort, and the webhook's address shows there once, only to you.
  • The page lists (sortdo pages versions, trash, recent and shared-with-me) show more with --cursor, the nextCursor of the result before, instead of --offset. sortdo pages add-attachment takes up to 100 files.
  • sortdo do-search --type pages no 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 poll keeps 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 create and sortdo pages edit print the whole result as JSON fields, such as the new page's pageId or the saved edit's applied.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.