cmd

package
v0.0.0-...-5f54b48 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2022 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

Copyright © 2022 NotTimIsReal

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadFromGithub

func DownloadFromGithub(url string, pkg string) error

func DownloadFromTar

func DownloadFromTar(pkg string, url string) string

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 GetDownloadUrl

func GetDownloadUrl(pkg string, path string) string

func GetGitURL

func GetGitURL(pkg string, path string) string

func IsLib

func IsLib(pkg string, location string) bool

func Untar

func Untar(dst string, downloadedFile string, pkg string) error

func UsingGit

func UsingGit(pkg string, path string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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