hw

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2022 License: MIT Imports: 6 Imported by: 0

README

help-wanted

Want to contribute to open source but don't know where to start? Use this program to search github issues with "help wanted" labels.

✗ go build -o hw main.go
✗ ./hw --help
Usage of ./help-wanted:
  -config string
        YAML config file. Command line flags will override values set in this file. (default "~/.config/help-wanted/config.yml")
  -hours int
        Hours since issue was created. (default 72)
  -label value
        Find issues with this label.
  -org value
        Github organization to search.
  -verbose
        Prints Github search string associated with query.

Feel free to contribute PRs to make this project better!

Installation

brew install help-wanted

Configuration

By default, the program will load it's config from ~/.config/help-wanted/config.yml. These values can be overriden with command line args.

verbose: true
hours: 72
labels:
- "help wanted"
orgs:
- "ohmyzsh"
- "homebrew"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Hours   int  `yaml:"hours"`
	Verbose bool `yaml:"verbose"`

	Labels []string `yaml:"labels":`

	Organizations []string `yaml:"orgs"`

	CfgFile string `yaml:"-"`
	// contains filtered or unexported fields
}

func (*Config) LoadConfigFile

func (c *Config) LoadConfigFile(f *flag.FlagSet)

func (*Config) ParseFlags

func (c *Config) ParseFlags()

func (*Config) RegisterFlags

func (c *Config) RegisterFlags(f *flag.FlagSet)

Directories

Path Synopsis
cmd
help-wanted command

Jump to

Keyboard shortcuts

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