Skip to content

Latest commit

 

History

History
130 lines (93 loc) · 5.37 KB

README.german.md

File metadata and controls

130 lines (93 loc) · 5.37 KB

LuaConsole

All Contributors

License Codecov Gitter.im travis-ci Build status

English Spanish German Portuguese Russian Chinese

Paypal

[https://github.com/tilkinsc/LuaConsole] ist eine plattformübergreifende CLI der nächsten Generation [Lua-5.1.x, LuaJIT-2.0, Lua-5.2.x, Lua-5.3.x, Lua-5.4.x], die PUC-Lua und LuaJIT CLI ersetzt

Weitere Informationen finden Sie auf der LuaConsole Github Website und im LuaConsole Github Wiki!

Ziele

  • Seien Sie eine bessere CLI-Anwendung als PUC-Lua/LuaJIT
  • Unterstützen Sie alles, was mit PUC-Lua und LuaJIT kompatibel ist
  • Verhindern Sie unordentlichen, verschleierten Code
  • Seien Sie CLI-abhängig und unabhängig
  • Multiplattform - Linux, Windows, Mac (inoffiziell)

Build

Windows/Linux Build Instructions

Verwendung mit LuaRocks

LuaRocks Support

Verwendung mit LuaDIST

LuaDist Support Windows, Linux, MacOS

Testen

Linux

# Help command
luaw --help /? -?

# REPL Mode
luaw
luaw -p

# From the command
luaw res/testing.lua -Dtest=5 -n a b c
luaw -lres/testing.lua -Dtest=5 -n a b c
luaw -Dtest=5 -n a b c - < res/testing.lua

# With Shebang enhancements found below
res/testing.lua -Dtest=5 -n a b c

# Using cat
cat res/testing.lua | luaw -Dtest=5 -n a b c -

# From inside Lua
luaw -e "dofile('res/testing.lua')" -Dtest=5 -n a b c
luaw -e "dofile('testing.lua')" -s res -Dtest=5 -n a b c

# stdin:
luaw -
dofile('res/testing.lua')
<Ctrl + d>
<Enter>

Windows

REM Help command
luaw --help /? -?

REM REPL Mode
luaw
luaw -p

REM From the command
luaw res/testing.lua -Dtest=5 -n a b c
luaw -lres/testing.lua -Dtest=5 -n a b c
luaw -Dtest=5 -n a b c - < res/testing.lua

REM With Windows Registry enhancements found below
res\testing.lua -Dtest=5 -n a b c
res\testing -Dtest=5 -n a b c

REM Using type
type res\testing.lua | luaw -Dtest=5 -n a b c -

REM From inside Lua
luaw -e "dofile('res/testing.lua')" -Dtest=5 -n a b c
luaw -e "dofile('testing.lua')" -s res -Dtest=5 -n a b c

REM stdin
luaw -
dofile('res/testing.lua')
<Ctrl + z>
<Enter>

Bonus

Contributors ✨

Thanks goes to these wonderful people (emoji key):


DarkWiiPlayer

💻

This project follows the all-contributors specification. Contributions of any kind welcome!