ref: de94d3337b5a4ea031be881ec287e1691c2a50af
dir: /help.go/
package main
import "fmt"
func helpString(configpath string) string {
helpstring := ` Lines with no command are sent as a post.
Most commands that take <index> will operate on the most recently interacted with status,
if no index is passed.
Posts with multiple arguments may accept "." to operate on recent status.
Config file location: %s
ctrl-j Enable and disable multi-line mode
/help Show this help message.
/reply <index> content Reply to status by index.
/like <index> Favorite status by index.
/thread <index> View thread the indexed status is part of.
/cat <index> Output a status with details (liker, replies, etc).
/open <index> Open indexed status in the system web browser.
/download <index> Download attached files/media from status.
/view <index> Preview status media in media viewer.
/import <index> Same as /view with an alternative media handler.
/attach [file path] Loads file for attaching to status.
Opens the configured graphical file picker if no path is given.
/detach Clears loaded but unposted attachments.
/dm <content> Create a status with direct visibility (e.g. a dm).
/rt <index> Boost a status by index.
/parent <index> View parent of status by index.
/rm [index] Delete status by index
Deletes most recent post without an argument.
/mark <index> Bookmark status by index.
/unmark <index> Unbookmark status.
/account [index] [account] View account details and status, either by index or name.
/pinned [index] [account] View account's pinned statuses.
/pause Pause the streaming timeline or unpause it.
Pressing enter on an empty line will also unpause.
/resume Explicitly unpause the timeline.
/url <index> [url tag] Open URL from status content.
If no tag is provided, will open the first url.
/fpost <index> Add status to account's filters.
/ufpost <index> Unfilter status.
/edit <index> [content] Set targeted status to [content].
Use without content argument to load post into input bar.
/notice Prints unread notifications.
If there are none unread, opens notification page.
/stats Print some running stats.
/help Print this message.
/bookmarks Open bookmarks page.
/follow [index] [account] Follow account by post index or name.
/unfollow [index] [account] Unfollow account by post index or name.
/likes Display favorited status page.
/reload Reload configuration file.
`
return fmt.Sprintf(helpstring, configpath)
}