We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in the terminal use the command
lua cli.lua init @helloworld myproject
the command must be create this files:
myproject/.gitignore
dist/ vendor/ .DS_Store Thumbs.db
myproject/README.md
# Myproject * **use:** `./cli.sh run src/game.lua`
myproject/src/game.lua
local function init(std, game) end local function loop(std, game) end local function draw(std, game) std.draw.clear(std.color.black) std.draw.color(std.color.white) std.draw.text(8, 8, "hello world") end local function exit(std, game) end local P = { meta={ title='Myproject', author='YourName', description='description about the game', version='1.0.0' }, callbacks={ init=init, loop=loop, draw=draw, exit=exit } } return P
The text was updated successfully, but these errors were encountered:
feat: implemented init command gamelly#31
ed1f8c9
bafc1e7
Implementation of init command (#94)
5d63ada
* feat: implemented init command #31 * refactor: integrate init.lua in cli.lua streamlining the project init command
Feature/cmd init (#107)
59d7f97
* feat: add wget to http util create request #90 * Implementation of init command (#94) * feat: implemented init command #31 * refactor: integrate init.lua in cli.lua streamlining the project init command * chore: somes adjusts in #94 --------- Co-authored-by: Lucas Noal Pötter <[email protected]>
No branches or pull requests
in the terminal use the command
the command must be create this files:
myproject/.gitignore
myproject/README.md
myproject/src/game.lua
The text was updated successfully, but these errors were encountered: