/golte-cli

Golte CLI is a command-line tool for building and running Golte projects.

Primary LanguageGoMIT LicenseMIT

golte-cli

Golte CLI is a command-line tool for building and running Golte projects.

Installation

go install github.com/TimLai666/golte-cli@latest

Usage

Initialize(create) a project

golte-cli new <project-name>

Create project in current directory

golte-cli new <project-name> --here

Build the project

golte-cli build

Run the project

golte-cli run

Run the project and watch for changes

golte-cli dev

Show help

golte-cli help

Notes

  • The executable file will be placed in the dist directory.
  • The executable file name will be the same as the project name.
  • On Windows, the executable file will have a .exe suffix.