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: the framework and the tool that drives it are separate names.
Source Files
¶
- about.go
- actionlist.go
- assetsbuild.go
- build.go
- buildcache.go
- commands.go
- delegate.go
- dev.go
- dev_unix.go
- devexit.go
- doctor.go
- flags.go
- font.go
- fontmanifest.go
- fontsearch.go
- generate.go
- key.go
- lsp.go
- main.go
- make.go
- makecommand.go
- makecontroller.go
- makeenum.go
- makeevent.go
- makefactory.go
- makejob.go
- makelistener.go
- makemail.go
- makemiddleware.go
- makemigration.go
- makemodel.go
- makemodule.go
- makepolicy.go
- makerequest.go
- makeseeder.go
- maketest.go
- new.go
- trace.go
- viewbuild.go
- viewcompile.go
- viewstyle.go
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
doctor
Package doctor turns the architecture rules into static analysis.
|
Package doctor turns the architecture rules into static analysis. |
|
fonts
Package fonts vendors a web font into a project, once, from the command line.
|
Package fonts vendors a web font into a project, once, from the command line. |
|
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. |
|
lsp
Package lsp serves Kyse language intelligence over the Language Server Protocol.
|
Package lsp serves Kyse language intelligence over the Language Server Protocol. |
|
lsp/htmxgen
command
Command htmxgen writes the HTMX attribute table the language server offers.
|
Command htmxgen writes the HTMX attribute table the language server offers. |
|
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 a model writes.
|
Package spec is the declarative form of a module: the DSL a model writes. |
|
testlayout
Package testlayout checks that a Go module's tests are where they can run.
|
Package testlayout checks that a Go module's tests are where they can run. |
|
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. |
|
Package tests is the base every suite in this repository builds on.
|
Package tests is the base every suite in this repository builds on. |
Click to show internal directories.
Click to hide internal directories.