Documentation
¶
Overview ¶
Command aru is the Arandu CLI.
It does two kinds of work, and the split matters. Commands that only touch files -- key:generate, new, make:*, doctor -- run here. Commands that need the registered modules -- serve, migrate, routes -- are delegated to the project's own binary, because only that binary knows which modules exist. Nothing is resolved by reflection, and everything the CLI generates is readable, committable Go.
The binary is called aru rather than arandu: the arandu name is already taken by another tool. Same split as Laravel and artisan.
Source Files
¶
- build.go
- commands.go
- delegate.go
- dev.go
- dev_unix.go
- doctor.go
- generate.go
- key.go
- main.go
- make.go
- makeauth.go
- makecommand.go
- makecontroller.go
- makeenum.go
- makeevent.go
- makefactory.go
- makejob.go
- makelistener.go
- makemiddleware.go
- makemigration.go
- makemodel.go
- makemodule.go
- makepolicy.go
- makerequest.go
- makeseeder.go
- new.go
- trace.go
- viewbuild.go
- viewcompile.go
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
doctor
Package doctor turns the architecture rules into static analysis.
|
Package doctor turns the architecture rules into static analysis. |
|
gen
Package gen turns a module specification into Go source.
|
Package gen turns a module specification into Go source. |
|
kyse
Package kyse compiles a view into Go.
|
Package kyse compiles a view into Go. |
|
manifest
Package manifest reads arandu.mod.toml, the metadata every module declares.
|
Package manifest reads arandu.mod.toml, the metadata every module declares. |
|
spec
Package spec is the declarative form of a module: the DSL of phase 4.
|
Package spec is the declarative form of a module: the DSL of phase 4. |
|
toolchain
Package toolchain downloads and caches the one binary the view layer needs.
|
Package toolchain downloads and caches the one binary the view layer needs. |
Click to show internal directories.
Click to hide internal directories.