fhelp

package module
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: GPL-3.0 Imports: 12 Imported by: 10

README

forge help

This is some code to help new users compile the GO GUI plugins which can be rather difficult to figure out how to do.

Design Goals

  • automate the recovery and build process for GO plugins
  • handle input from STDIN when there is no GUI yet

Notes

Try to make things easy.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPlugin added in v0.0.16

func BuildPlugin(pname string) bool

func CheckCmd

func CheckCmd(cmd string) (string, error)

func CheckGoModClean

func CheckGoModClean() bool

func CheckGoModCleanExit

func CheckGoModCleanExit()

func CheckProtoc

func CheckProtoc() bool

func ConfigureENV added in v0.0.16

func ConfigureENV() error

func DoBash added in v0.0.21

func DoBash(argname string)

makes a bash autocomplete file for your command

func DumpENV added in v0.0.21

func DumpENV(what string)

func Install added in v0.0.14

func Install(pkg string) error

func MakeBashCompletionText added in v0.0.21

func MakeBashCompletionText(argname string) string

func QuestionUser added in v0.0.17

func QuestionUser(msg string) bool

func ValidProtobuf

func ValidProtobuf(filename string) (string, string, error)

This verifies a .proto file conforms to the autogenpb standard

That means, for "toy.proto", there MUST exist:

message toy { } message toys { }

this parses the .proto file and handles anything with `autogenpb: ` does the fruit.proto file have "message Fruits" does it have a Uuid & valid version ?

This returns (UUID, Version, error on failure)

Types

This section is empty.

Jump to

Keyboard shortcuts

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