Engine 0.0.6
Game engine in lua
Loading...
Searching...
No Matches
main.lua File Reference

Go to the source code of this file.

Functions

 add_next_value ('game', {require=true, alias=' @examples/{{game}}/game.lua'})
 
 add_option_get ('dist', {default='{game}'})
 
 add_next_value ('game', {alias=' @examples/{{game}}/game.lua'})
 
 add_option_get ('dist', {default='./dist/'})
 
 add_option_get ('core', {default='ginga'})
 
 add_option_get ('screen', {default='1280x720'})
 
 add_next_value ('game', {required=true, alias=' @examples/{{game}}/game.lua'})
 
 add_option_get ('core', {default='love'})
 
 add_option_get ('format', {default='{{title}} {{version}}', alias=commands_game.meta_alias})
 
 add_next_value ('file', {required=true})
 
 add_option_get ('dist', {default='a.out'})
 
 add_next_value ('path', {required=true})
 
 add_option_get ('dist', {required=true})
 
 add_next_value ('dist', {required=true})
 
 add_option_get ('format', {required=true})
 
 add_option_get ('replace', {required=true})
 
 add_next_value ('url', {required=true})
 

Variables

local os = require('os')
 
local zeebo_argparse = require('src/lib/cli/argparse')
 
local commands_build = require('src/cli/commands/build')
 
local commands_cli = require('src/cli/commands/cli')
 
local commands_fs = require('src/cli/commands/fs')
 
local commands_game = require('src/cli/commands/game')
 
local commands_info = require('src/cli/commands/info')
 
local commands_tools = require('src/cli/commands/tools')
 
local command = zeebo_argparse.from(arg)
 
local ok
 
local message = command.run()
 

Function Documentation

◆ add_next_value() [1/7]

add_next_value ( 'dist' ,
{required=true}  )

◆ add_next_value() [2/7]

add_next_value ( 'file' ,
{required=true}  )

◆ add_next_value() [3/7]

add_next_value ( 'game' ,
{alias=' @examples/{{game}}/game.lua'}  )

◆ add_next_value() [4/7]

add_next_value ( 'game' ,
{require=true, alias=' @examples/{{game}}/game.lua'}  )
Here is the call graph for this function:

◆ add_next_value() [5/7]

add_next_value ( 'game' ,
{required=true, alias=' @examples/{{game}}/game.lua'}  )

◆ add_next_value() [6/7]

add_next_value ( 'path' ,
{required=true}  )

◆ add_next_value() [7/7]

add_next_value ( 'url' ,
{required=true}  )

◆ add_option_get() [1/10]

add_option_get ( 'core' ,
{default='ginga'}  )

◆ add_option_get() [2/10]

add_option_get ( 'core' ,
{default='love'}  )

◆ add_option_get() [3/10]

add_option_get ( 'dist' ,
{default='./dist/'}  )

◆ add_option_get() [4/10]

add_option_get ( 'dist' ,
{default='a.out'}  )

◆ add_option_get() [5/10]

add_option_get ( 'dist' ,
{default='{game}'}  )

◆ add_option_get() [6/10]

add_option_get ( 'dist' ,
{required=true}  )

◆ add_option_get() [7/10]

add_option_get ( 'format' ,
{default='{{title}} {{version}}', alias=commands_game.meta_alias}  )

◆ add_option_get() [8/10]

add_option_get ( 'format' ,
{required=true}  )

◆ add_option_get() [9/10]

add_option_get ( 'replace' ,
{required=true}  )

◆ add_option_get() [10/10]

add_option_get ( 'screen' ,
{default='1280x720'}  )

Variable Documentation

◆ command

local command = zeebo_argparse.from(arg)

Definition at line 12 of file main.lua.

◆ commands_build

local commands_build = require('src/cli/commands/build')

Definition at line 5 of file main.lua.

◆ commands_cli

local commands_cli = require('src/cli/commands/cli')

Definition at line 6 of file main.lua.

◆ commands_fs

local commands_fs = require('src/cli/commands/fs')

Definition at line 7 of file main.lua.

◆ commands_game

local commands_game = require('src/cli/commands/game')

Definition at line 8 of file main.lua.

◆ commands_info

local commands_info = require('src/cli/commands/info')

Definition at line 9 of file main.lua.

◆ commands_tools

local commands_tools = require('src/cli/commands/tools')

Definition at line 10 of file main.lua.

◆ message

local message = command.run()

Definition at line 40 of file main.lua.

◆ ok

local ok

Definition at line 40 of file main.lua.

◆ os

local os = require('os')

Definition at line 1 of file main.lua.

◆ zeebo_argparse

local zeebo_argparse = require('src/lib/cli/argparse')

Definition at line 3 of file main.lua.