activity

package
v0.14.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewActivityCmd

func NewActivityCmd(f *factory.Factory) *cobra.Command

NewActivityCmd creates a new activity command

Types

type ActivityOutput

type ActivityOutput struct {
	Project  string           `json:"project"`
	Activity []ActivityRecord `json:"activity"`
}

ActivityOutput represents the JSON output format

type ActivityRecord

type ActivityRecord struct {
	ID           int64     `json:"id"`
	Type         string    `json:"type"`
	Title        string    `json:"title"`
	Status       string    `json:"status"`
	Creator      string    `json:"creator"`
	CreatorEmail string    `json:"creator_email,omitempty"`
	CreatedAt    time.Time `json:"created_at"`
	UpdatedAt    time.Time `json:"updated_at"`
	URL          string    `json:"url"`
	ParentTitle  string    `json:"parent_title,omitempty"`
	ParentType   string    `json:"parent_type,omitempty"`
}

ActivityRecord represents a single activity item for JSON output

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL