Skip to content

keryx post new

Description

Create a post in an article: a social-media post of the article, named by you (<id>, a slug unique within the article) with an optional label and image (spec 0061 D3). The image is the piece's attachment on every platform that takes one: --image names the file in the bundle, --image-url its public URL (supplied by you, never derived; Instagram accepts only a URL), --alt its alt text, which social gen composes when absent. Then compose its copy with social gen --article <dir> --post <id>, gate it with approve, send it with publish.

Usage

keryx post new <id> --article <dir> [--label <text>] [--image <bundle-relative> --image-url <url> [--alt <text>]]

keryx post new launch --article content/post/my-post --label "Launch week" \
  --image cover-my-post.jpg --image-url https://phpboyscout.uk/my-post/cover-my-post.jpg

Flags

Flag Description Default Required
--article the article's bundle directory yes
--label a human label for the campaign
--image the image file, bundle-relative
--image-url the image's public URL
--alt the image's alt text