Dan Anglin
e73dbb45ed
Add support for opening links for accounts and statuses in a user's favourite web browser. Changes: - Add browser support if the BROWSER environment variable is set. - Add support for viewing accounts in the browser. - Add support for viewing statuses in the browser (if they are publicly viewable)
33 lines
1,014 B
Go
33 lines
1,014 B
Go
package executor
|
|
|
|
const (
|
|
flagAccountName = "account-name"
|
|
flagBrowser = "browser"
|
|
flagContent = "content"
|
|
flagInstance = "instance"
|
|
flagLimit = "limit"
|
|
flagListID = "list-id"
|
|
flagListTitle = "list-title"
|
|
flagListRepliesPolicy = "list-replies-policy"
|
|
flagMyAccount = "my-account"
|
|
flagNotify = "notify"
|
|
flagFrom = "from"
|
|
flagType = "type"
|
|
flagSkipRelationship = "skip-relationship"
|
|
flagShowPreferences = "show-preferences"
|
|
flagShowReposts = "show-reposts"
|
|
flagStatusID = "status-id"
|
|
flagTag = "tag"
|
|
flagTimelineCategory = "timeline-category"
|
|
flagTo = "to"
|
|
|
|
resourceAccount = "account"
|
|
resourceBlocked = "blocked"
|
|
resourceFollowers = "followers"
|
|
resourceFollowing = "following"
|
|
resourceInstance = "instance"
|
|
resourceList = "list"
|
|
resourceNote = "note"
|
|
resourceStatus = "status"
|
|
resourceTimeline = "timeline"
|
|
)
|