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.
vn posts close
Section titled “vn posts close”Close a post.
vn posts close IDArguments
Section titled “Arguments”| Argument | Required | Description |
|---|---|---|
ID |
yes | Post id. |
vn posts create
Section titled “vn posts create”Create a post.
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. |
vn posts list
Section titled “vn posts list”List posts.
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 |
vn posts photo
Section titled “vn posts photo”Set or remove the photo on one of your posts, from a file or a link.
vn posts photo ID [FILE] [flags]Arguments
Section titled “Arguments”| 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. |
Examples
Section titled “Examples”vn posts photo <post-id> ./photo.jpgvn posts photo <post-id> --url https://example.com/photo.jpgvn posts photo <post-id> --removevn posts show
Section titled “vn posts show”Show a post.
vn posts show IDArguments
Section titled “Arguments”| Argument | Required | Description |
|---|---|---|
ID |
yes | Post id. |