cmd

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2025 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clear

type Clear struct {
	Full bool `name:"full" short:"f" help:"Remove all files including cloned projects."`
}

func (*Clear) Run

func (c *Clear) Run(options *SharedOptions) error

type Clone

type Clone struct {
	Language string `help:"Programming language to filter projects on" short:"l"`

	GitlabToken string `help:"Gitlab access token" short:"t"`
	GitlabURL   string `help:"Gitlab URL" default:"https://gitlab.com/api/v4" short:"u"`
	NumWorkers  int    `help:"Number of workers" default:"5" short:"w"`

	ExcludeProjects []string `help:"Exclude projects" short:"x"`
}

func (*Clone) Run

func (s *Clone) Run(options *SharedOptions) error

type SharedOptions

type SharedOptions struct {
	ProjectDir string
}

func (SharedOptions) GitlabCacheFile

func (s SharedOptions) GitlabCacheFile() string

func (SharedOptions) ProjectsDir

func (s SharedOptions) ProjectsDir() string

Jump to

Keyboard shortcuts

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