Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions internal/commands/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,13 @@ func NewMessagesCmd() *cobra.Command {
var messageBoard string

cmd := &cobra.Command{
Use: "messages",
Aliases: []string{"msgs"},
Short: "Manage message board messages",
Long: "List, show, create, and manage messages in a project's message board.",
Use: "messages",
Aliases: []string{"msgs"},
Short: "Manage message board messages",
Long: `List, show, create, and manage messages in a project's message board.

Most projects have a single message board. If a project has multiple,
use --message-board <id> to specify which one.`,
Comment thread
jeremy marked this conversation as resolved.
Annotations: map[string]string{"agent_notes": "Rich text content accepts Markdown — the CLI converts to HTML\nCross-project messages: basecamp recordings messages --json\nPinned messages appear at the top of the message board"},
}

Expand Down Expand Up @@ -513,7 +516,10 @@ func NewMessageCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "message <title> [body]",
Short: "Post a new message",
Long: "Post a message to a project's message board. Shortcut for 'basecamp messages create'.",
Long: `Post a message to a project's message board. Shortcut for 'basecamp messages create'.

Most projects have a single message board. If a project has multiple,
use --message-board <id> to specify which one.`,
Comment thread
jeremy marked this conversation as resolved.
RunE: func(cmd *cobra.Command, args []string) error {
app := appctx.FromContext(cmd.Context())

Expand Down
Loading