cmd

package
v0.0.0-...-496b7b0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2018 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "feeda",
	Short: "Command line tool to manage feeds (RSS)",
	Long: `Feeds are stored in a SQLite database which default to ~/.feeda/db.sqlite
Usual work flow is:

# Add a feed
feeda add [URL to feed]

# List feeds
feeda listFeeds

# Sync feeds
feeda sync

# Sync feed with ID=1
feeda sync 1

# List 10 unread entries from feed with ID=1 and set them as read order by oldest first
feeda list --unread --setAsRead --limit=10 --feed=1

# List 50 unread entries from all feeds and show only their URLs and set them as read
# order by oldest first. Pipe it to "open" to open in the default browser
feeda list -l=50 -u -r -o | xargs open
`,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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