Docs / Cli

smallforce social posts update

Update an editable draft, scheduled, failed, partial, or cancelled post

This page is generated from the same Commander definition shipped in SmallForce CLI 0.1.7. Run smallforce social posts update --help locally to view the same reference for your installed version.

Complete command help

Usage: smallforce social posts update [options] <postId>

Update an editable draft, scheduled, failed, partial, or cancelled post

Arguments:
  postId                       Post id from social posts list

Options:
  --content <text>             Shared post text
  --title <text>               Internal post title
  --profile <profileId>        Social profile id from social profiles list
  --scheduled-for <iso>        ISO timestamp required for schedule mode
  --timezone <iana>            IANA timezone, for example America/Detroit
  --asset <assetId>            SmallForce asset id; repeat for multiple media (default: [])
  --media-url <url>            Public media URL; repeat for multiple media (default: [])
  --hashtag <tag>              Hashtag without transport-specific formatting; repeatable (default:
                               [])
  --tag <tag>                  Internal post tag; repeatable (default: [])
  --publication <json>         Publication object; repeat once per target account (default: [])
  --metadata <json>            Inline JSON object stored with the post
  --publish <mode>             Publish mode: draft, now, or schedule
  --mention <value>            Mention value; repeatable (default: [])
  --visibility <value>         private, public, or unlisted
  --crossposting <true|false>  Enable or disable crossposting
  --recycling <json>           Inline JSON recycling configuration
  --api-key <key>              SmallForce API key, or set SMALLFORCE_API_KEY
  --backend-url <url>          SmallForce backend URL, or set SMALLFORCE_BACKEND_URL
  --json                       Print stable machine-readable JSON
  --text                       Print human-readable text
  --format <format>            Output format: text or json
  -h, --help                   display help for command