cmd

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2025 License: MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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.

func LatestCliVersion added in v0.1.0

func LatestCliVersion() (string, error)

LatestCliVersion retrieves the latest Fiber CLI release version from GitHub.

func LatestFiberVersion added in v0.1.0

func LatestFiberVersion() (string, error)

LatestFiberVersion retrieves the most recent Fiber release version from GitHub.

Types

type MigrateOptions added in v0.1.0

type MigrateOptions struct {
	CurrentVersionFile string
	TargetVersionS     string
	TargetHash         string
	ThirdParty         []ThirdPartyParam
	IncludeFiles       []string
	ExcludeFiles       []string
	Force              bool
	SkipGoMod          bool
	Verbose            bool
}

type ThirdPartyParam added in v0.5.0

type ThirdPartyParam struct {
	Name string
	Hash string
}

Directories

Path Synopsis
app

Jump to

Keyboard shortcuts

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