cmd

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2025 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Open        bool
	Serve       bool
	ServePort   int
	UserAgent   string
	ProxyString string
	Cookies     []string
)

Functions

func CloneSite

func CloneSite(ctx context.Context, args []string, opts CloneOptions) error

CloneSite clones the site with the specified options

func Execute

func Execute()

Execute the clone command

Types

type CloneOptions

type CloneOptions struct {
	Serve     bool
	Open      bool
	ServePort int
	Cookies   []string
	Proxy     string
	UserAgent string
}

CloneOptions contains all the options for the cloning process

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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