Documentation
¶
Overview ¶
boardgame-util is a comprehensive CLI tool to help administer projects built with boardgame. All of its substantive functionality is implemented in sub-libraries in lib/, which can be used directly if necessary.
The canonical help documentation is provided by `boardgame-util help`.
Source Files
¶
- cmd_base.go
- cmd_build.go
- cmd_build_api.go
- cmd_build_static.go
- cmd_clean.go
- cmd_clean_api.go
- cmd_clean_cache.go
- cmd_clean_static.go
- cmd_codegen.go
- cmd_codegen_all.go
- cmd_codegen_enum.go
- cmd_codegen_reader.go
- cmd_config.go
- cmd_config_add.go
- cmd_config_init.go
- cmd_config_modify.go
- cmd_config_normalize.go
- cmd_config_remove.go
- cmd_config_set.go
- cmd_db.go
- cmd_db_down.go
- cmd_db_setup.go
- cmd_db_up.go
- cmd_db_version.go
- cmd_golden.go
- cmd_help.go
- cmd_serve.go
- cmd_stub.go
- helpers.go
- main.go
Directories
¶
Path | Synopsis |
---|---|
lib
|
|
build
Package build is comprised of two sub-packages, api and static, that are two halves of building a functioning webapp given a config.json.
|
Package build is comprised of two sub-packages, api and static, that are two halves of building a functioning webapp given a config.json. |
build/api
Package api is a package that can create and cleanup api server binaries.
|
Package api is a package that can create and cleanup api server binaries. |
build/static
Package static is a library that helps automate creating the static directory of files for the webapp to function.
|
Package static is a library that helps automate creating the static directory of files for the webapp to function. |
codegen
Package codegen is a simple program, designed to be run from go:generate, that helps generate the annoying boilerplate to implement boardgame.PropertyReader and boardgame.PropertyReadSetter, as well as generating the boilerplate for enums.
|
Package codegen is a simple program, designed to be run from go:generate, that helps generate the annoying boilerplate to implement boardgame.PropertyReader and boardgame.PropertyReadSetter, as well as generating the boilerplate for enums. |
codegen/examplepkg
Package examplepkg is just an example package for testing.
|
Package examplepkg is just an example package for testing. |
config
Package config is a simple library that manages config set-up for boardgame-util and friends, reading from config.json and config.SECRET.json files.
|
Package config is a simple library that manages config set-up for boardgame-util and friends, reading from config.json and config.SECRET.json files. |
gamepkg
Package gamepkg is a package that helps locate, validate, and modify game package imports.
|
Package gamepkg is a package that helps locate, validate, and modify game package imports. |
golden
Package golden is a package designed to make it possible to compare a game to a golden run for testing purposes.
|
Package golden is a package designed to make it possible to compare a game to a golden run for testing purposes. |
path
Package path includes a few simple convenience methods for dealing with paths
|
Package path includes a few simple convenience methods for dealing with paths |
stub
Package stub is a library that helps generate stub code for new games
|
Package stub is a library that helps generate stub code for new games |
Click to show internal directories.
Click to hide internal directories.