Skip to content

vn posts

For users: the vn posts commands. Browse, write, and close asks. Every command accepts --json to print its result as JSON for scripts and agents. This page is generated from the CLI’s own oclif manifest on every build, so it matches the published @venturenetwork/cli. Install it from The CLI.

Close a post.

Terminal window
vn posts close ID
Argument Required Description
ID yes Post id.

Create a post.

Terminal window
vn posts create [flags]
Flag Type Description Default
--kind option Post kind. required
--title option Post title. required
--body option Post body. required
--tag option A tag. Repeat for more than one. repeatable
--org option Publish to this organization slug. Repeat for more than one. repeatable
--public boolean Publish to the public feed.
--expires-in-days option Days until the post expires.

List posts.

Terminal window
vn posts list [flags]
Flag Type Description Default
--org option List posts published to this organization slug instead of the feed.
--kind option Filter by kind.
--mine boolean Only posts you wrote.
--limit option Maximum number of posts to list. 25

Set or remove the photo on one of your posts, from a file or a link.

Terminal window
vn posts photo ID [FILE] [flags]
Argument Required Description
ID yes Post id.
FILE no Path to a PNG, JPEG, WebP, or GIF, at most 5 MB.
Flag Type Description Default
--url option An image link to import a copy of, instead of a file.
--remove boolean Remove the current photo instead of uploading one.
Terminal window
vn posts photo <post-id> ./photo.jpg
Terminal window
vn posts photo <post-id> --url https://example.com/photo.jpg
Terminal window
vn posts photo <post-id> --remove

Show a post.

Terminal window
vn posts show ID
Argument Required Description
ID yes Post id.