fleekcli

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommand

func AddCommand() *cobra.Command

func ApplyCommand

func ApplyCommand() *cobra.Command

func EjectCommand

func EjectCommand() *cobra.Command

func Execute

func Execute(ctx context.Context, args []string) int

func InitCommand

func InitCommand() *cobra.Command

func Main

func Main()

func ManCommand added in v0.6.0

func ManCommand() *cobra.Command

func RemoveCommand

func RemoveCommand() *cobra.Command

func RepoAddCmd

func RepoAddCmd() *cobra.Command

func RepoCmd

func RepoCmd() *cobra.Command

func RepoShowCmd

func RepoShowCmd() *cobra.Command

func RootCmd

func RootCmd() *cobra.Command

func SearchCommand

func SearchCommand() *cobra.Command

func ShowCmd

func ShowCmd() *cobra.Command

func SyncCmd

func SyncCmd() *cobra.Command

func UpdateCommand

func UpdateCommand() *cobra.Command

func VersionCmd added in v0.6.0

func VersionCmd() *cobra.Command

Types

type ConfigStatus

type ConfigStatus int
const (
	ConfigNone ConfigStatus = iota
	ConfigExists
)

func (ConfigStatus) String

func (c ConfigStatus) String() string

type FlakeStatus

type FlakeStatus int
const (
	FlakeNone FlakeStatus = iota
	FlakeExists
	FlakeDirty
	FlakeBehind
	FlakeAhead
	FlakeDiverged
)

func (FlakeStatus) String

func (f FlakeStatus) String() string

type Fleek

type Fleek struct {
	// contains filtered or unexported fields
}

Fleek is the controller for the command line experience and holds state for all the commands.

func (*Fleek) Flake

func (f *Fleek) Flake() (*nix.Flake, error)

func (*Fleek) Repo

func (f *Fleek) Repo() (*git.FlakeRepo, error)

func (*Fleek) Sanity

func (f *Fleek) Sanity() ([]string, error)

type GitStatus

type GitStatus int
const (
	GitNone GitStatus = iota
	GitExists
	GitHasRemote
)

func (GitStatus) String

func (g GitStatus) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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