Skip to content

CLI Reference

This page is generated from the Cobra command tree. Do not edit it by hand.

Regenerate with:

sh
cd cli && go run ./cmd/openpost-docs ../docs-site/reference/cli.md

openpost

OpenPost CLI — control a self-hosted OpenPost instance from the terminal

openpost is a command-line client for the OpenPost social media scheduler. It talks to a running OpenPost instance over HTTPS, authenticates with a revocable API token, and exposes the most common posting, scheduling, account, and media workflows for use from scripts, CI, and power-user shells.

Usage

text
openpost [flags]

Flags

FlagDefaultDescription
-h, --helpfalsehelp for openpost
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
-v, --versionfalseversion for openpost
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

Subcommands

CommandDescription
openpost accountManage connected social accounts
openpost authAuthenticate with an OpenPost instance
openpost completionGenerate shell completion script
openpost instanceManage OpenPost instance profiles
openpost jobsList background jobs
openpost mediaUpload and list media attachments
openpost postCreate, list, view, update, and delete posts
openpost setManage workspace social sets
openpost threadCreate multi-post threads
openpost versionPrint the openpost CLI version
openpost workspaceManage the active OpenPost workspace

openpost account

Manage connected social accounts

List, rename, and disconnect social accounts. Account slugs are the preferred selector for --accounts. New accounts are connected in the OpenPost web UI at <instance>/accounts.

Usage

text
openpost account

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

Subcommands

CommandDescription
openpost account disconnectDisconnect a social account
openpost account listList connected social accounts
openpost account renameRename a social account slug

openpost account disconnect

Disconnect a social account

Usage

text
openpost account disconnect &lt;account-id&gt;

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost account list

List connected social accounts

List connected social accounts for the active workspace. Use the SLUG column as the preferred selector for --accounts and account rename.

Usage

text
openpost account list [flags]

Flags

FlagDefaultDescription
--platform-filter by platform

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost account rename

Rename a social account slug

Rename a connected account's slug. The selector can be an account id, slug, platform:username value, bare platform when unambiguous, or mastodon host.

Usage

text
openpost account rename &lt;selector&gt; --slug &lt;new-slug&gt; [flags]

Flags

FlagDefaultDescription
--slug-new account slug

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost auth

Authenticate with an OpenPost instance

Usage

text
openpost auth

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

Subcommands

CommandDescription
openpost auth loginLog in to an OpenPost instance
openpost auth logoutDelete the stored token for the active profile
openpost auth statusShow authentication status for the active profile
openpost auth tokenManage API tokens

openpost auth login

Log in to an OpenPost instance

Usage

text
openpost auth login &lt;instance&gt; [flags]

Flags

FlagDefaultDescription
--devicefalseprint the device code and poll without opening a browser
--insecure-storagefalsestore the token in credentials.json instead of the OS keyring
--no-browserfalseskip automatically opening the browser
--with-tokenfalseread a raw API token from stdin

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost auth logout

Delete the stored token for the active profile

Usage

text
openpost auth logout

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost auth status

Show authentication status for the active profile

Usage

text
openpost auth status

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost auth token

Manage API tokens

Usage

text
openpost auth token

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

Subcommands

CommandDescription
openpost auth token listList API tokens
openpost auth token revokeRevoke an API token

openpost auth token list

List API tokens

Usage

text
openpost auth token list

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost auth token revoke

Revoke an API token

Usage

text
openpost auth token revoke &lt;id&gt;

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost completion

Generate shell completion script

Output a shell completion script for the given shell. To load completions: Bash: $ source <(openpost completion bash) # To load completions for each session, execute once: # Linux: $ openpost completion bash > /etc/bash_completion.d/openpost # macOS: $ openpost completion bash > $(brew --prefix)/etc/bash_completion.d/openpost Zsh: # If shell completion is not already enabled in your environment, # you will need to enable it. You can execute the following once: $ echo "autoload -U compinit; compinit" >> ~/.zshrc # To load completions for each session, execute once: $ openpost completion zsh > "${fpath[1]}/_openpost" # You will need to start a new shell for this setup to take effect. Fish: $ openpost completion fish | source # To load completions for each session, execute once: $ openpost completion fish > ~/.config/fish/completions/openpost.fish PowerShell: PS> openpost completion powershell | Out-String | Invoke-Expression # To load completions for every new session, run: PS> openpost completion powershell > openpost.ps1 # and source this file from your PowerShell profile.

Usage

text
openpost completion &lt;bash\|zsh\|fish\|powershell&gt;

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost instance

Manage OpenPost instance profiles

Usage

text
openpost instance

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

Subcommands

CommandDescription
openpost instance addAdd or update an instance profile
openpost instance listList configured instances
openpost instance removeRemove an instance profile
openpost instance useSet the active instance profile

openpost instance add

Add or update an instance profile

Usage

text
openpost instance add &lt;name&gt; &lt;url&gt;

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost instance list

List configured instances

Usage

text
openpost instance list

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost instance remove

Remove an instance profile

Usage

text
openpost instance remove &lt;name&gt;

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost instance use

Set the active instance profile

Usage

text
openpost instance use &lt;name&gt;

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost jobs

List background jobs

Usage

text
openpost jobs

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

Subcommands

CommandDescription
openpost jobs listList background jobs

openpost jobs list

List background jobs

Usage

text
openpost jobs list [flags]

Flags

FlagDefaultDescription
--limit0maximum number of jobs to return
--status-filter by status: pending, failed, completed

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost media

Upload and list media attachments

Usage

text
openpost media

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

Subcommands

CommandDescription
openpost media listList media attachments
openpost media uploadUpload a media file

openpost media list

List media attachments

Usage

text
openpost media list [flags]

Flags

FlagDefaultDescription
--limit0maximum number of media items to return

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost media upload

Upload a media file

Usage

text
openpost media upload &lt;file&gt; [flags]

Flags

FlagDefaultDescription
--alt-alt text for the uploaded media

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost post

Create, list, view, update, and delete posts

Usage

text
openpost post

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

Subcommands

CommandDescription
openpost post createCreate a draft or scheduled post
openpost post deleteDelete a draft or scheduled post
openpost post listList posts
openpost post updateUpdate a draft or scheduled post
openpost post viewView a post

openpost post create

Create a draft or scheduled post

Usage

text
openpost post create [flags]

Flags

FlagDefaultDescription
--accounts-comma-separated account selectors
--content-post content
--file-read post content from a file
--media[]media id or local file path; repeatable
--media-alt[]alt text for the matching uploaded --media
--random-delay0random delay in minutes
--schedule-natural-language, RFC3339, next-slot, now, or draft
--set-social set name or ID to publish to
--thread-draft-encoded thread draft to attach

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost post delete

Delete a draft or scheduled post

Usage

text
openpost post delete &lt;post-id&gt;

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost post list

List posts

Usage

text
openpost post list [flags]

Flags

FlagDefaultDescription
--limit0maximum number of posts to return
--status-filter by status: draft, scheduled, published, failed

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost post update

Update a draft or scheduled post

Usage

text
openpost post update &lt;post-id&gt; [flags]

Flags

FlagDefaultDescription
--accounts-comma-separated account selectors
--content-post content
--random-delay0random delay in minutes
--schedule-natural-language, RFC3339, next-slot, now, or draft; empty string unschedules
--set-social set name or ID to publish to

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost post view

View a post

Usage

text
openpost post view &lt;post-id&gt;

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost set

Manage workspace social sets

Manage workspace social sets: reusable groups of social accounts. Posts and threads use the workspace default set when neither --accounts nor --set is passed.

Usage

text
openpost set

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

Subcommands

CommandDescription
openpost set addAdd accounts to a social set
openpost set createCreate a social set
openpost set defaultSet or clear the workspace default social set
openpost set deleteDelete a social set
openpost set listList social sets
openpost set removeRemove accounts from a social set
openpost set renameRename a social set

openpost set add

Add accounts to a social set

Usage

text
openpost set add &lt;set&gt; --accounts &lt;selectors&gt; [flags]

Flags

FlagDefaultDescription
--accounts-comma-separated account selectors to add
--mainfalsemark added accounts as main accounts

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost set create

Create a social set

Usage

text
openpost set create &lt;name&gt; [flags]

Flags

FlagDefaultDescription
--accounts-comma-separated account selectors to include
--defaultfalsemake this the workspace default set

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost set default

Set or clear the workspace default social set

Usage

text
openpost set default &lt;set&gt; [flags]

Flags

FlagDefaultDescription
--unsetfalseclear default status instead of making the set default

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost set delete

Delete a social set

Usage

text
openpost set delete &lt;set&gt;

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost set list

List social sets

Usage

text
openpost set list

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost set remove

Remove accounts from a social set

Usage

text
openpost set remove &lt;set&gt; --accounts &lt;selectors&gt; [flags]

Flags

FlagDefaultDescription
--accounts-comma-separated account selectors to remove

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost set rename

Rename a social set

Usage

text
openpost set rename &lt;set&gt; &lt;name&gt;

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost thread

Create multi-post threads

Usage

text
openpost thread

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

Subcommands

CommandDescription
openpost thread createCreate a thread from a markdown file

openpost thread create

Create a thread from a markdown file

Usage

text
openpost thread create &lt;file&gt; [flags]

Flags

FlagDefaultDescription
--accounts-comma-separated account selectors
--random-delay0random delay in minutes
--schedule-natural-language, RFC3339, next-slot, now, or draft
--set-social set name or ID to publish to

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost version

Print the openpost CLI version

Usage

text
openpost version

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost workspace

Manage the active OpenPost workspace

Usage

text
openpost workspace

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

Subcommands

CommandDescription
openpost workspace createCreate a workspace
openpost workspace listList workspaces
openpost workspace useSet the active workspace for the current profile

openpost workspace create

Create a workspace

Usage

text
openpost workspace create &lt;name&gt;

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost workspace list

List workspaces

Usage

text
openpost workspace list

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

openpost workspace use

Set the active workspace for the current profile

Usage

text
openpost workspace use &lt;name-or-id&gt;

Inherited Flags

FlagDefaultDescription
--instance-OpenPost instance URL (default: profile or $OPENPOST_INSTANCE)
--jsonfalseemit machine-readable JSON instead of tables/prose
--no-colorfalsedisable ANSI colors
--profile-profile name from config (default: $OPENPOST_PROFILE or 'default')
--quietfalsesuppress non-error output
--token-API token override (default: keyring or $OPENPOST_TOKEN)
--workspace-workspace name or ID (default: profile or $OPENPOST_WORKSPACE)
--yesfalseskip interactive confirmations

Released under the MIT License.