cmd

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Auth added in v1.0.1

func Auth(args []string)

Auth handles the "lurk auth" command — interactive Reddit app setup.

func CheckForUpdate

func CheckForUpdate(currentVersion string)

CheckForUpdate runs a non-blocking background version check. It caches results to avoid hitting GitHub API rate limits.

func PrintUpdateNotice

func PrintUpdateNotice(currentVersion string)

PrintUpdateNotice prints a one-line update notice to stderr if available.

func Search(args []string)

Search handles the "lurk search <query>" command.

func Serve

func Serve(version string)

Serve starts the MCP stdio server.

func Subreddit

func Subreddit(args []string)

Subreddit handles the "lurk subreddit <name>" command.

func Thread

func Thread(args []string)

Thread handles the "lurk thread <url>" command.

func Update

func Update(currentVersion string, args []string)

Update handles the "lurk update" subcommand.

func User

func User(args []string)

User handles the "lurk user <username>" command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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