hello/docs/intro.md
2024-12-01 13:43:23 +01:00

630 B

Introduction

The pesde/hello package is intended to be used in examples.

It exports a library and a binary, both of which print a simple greeting.

Installation

The package can be installed with the following command:

pesde add pesde/hello

Library

The library is a single function that prints hello.

local hello = require("./luau_packages/hello")

hello()

Binary

The binary prints hello. You can either run it using hello after installing the package in a pesde project like this:

hello

Or you can run it anywhere using pesde x like this:

pesde x pesde/hello