mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-08 14:46:04 +00:00
Update cheatsheets
This commit is contained in:
21
lua
Normal file
21
lua
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# lua
|
||||
|
||||
> A powerful, light-weight embeddable programming language.
|
||||
> More information: <https://www.lua.org>.
|
||||
|
||||
- Start an interactive Lua shell:
|
||||
|
||||
`lua`
|
||||
|
||||
- Execute a Lua script:
|
||||
|
||||
`lua {{path/to/script.lua}} {{--optional-argument}}`
|
||||
|
||||
- Execute a Lua expression:
|
||||
|
||||
`lua -e '{{print("Hello World")}}'`
|
||||
Reference in New Issue
Block a user