Skip to content
A simple application launcher
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
be.go
commands.go
example.lua
go.mod
go.sum
reserved.go
scripterrors.go
scriptsystem.go

README.md

Description

Dead simple application launcher using Lua for scripting.

Building

This program is built like any other go program using go build. The only caveat is that the go version must be 1.13 or above.

Creating a Command

  • Make a new file called myscripts.lua in your config directory. The config directories location can be found here: https://golang.org/pkg/os/#UserConfigDir

  • Open myscripts.lua and add

    Commands:addCommand("godoc", "godoc -http=:6060")

    Now build launch using this command

    go build -o launch
    
  • You should be able to launch the command you created using

      ./launch godoc
    
  • Open your browser and navigate to http://localhost:6060/

  • You should now be able to browse the Golang documentation locally.

You can’t perform that action at this time.