cli, tools, util, modules: Add a grow util and module

This builds in some functionality for growing the filesystem for new
machines. It also gets wrapped with an mcl module for ease of use.
This commit is contained in:
James Shubin
2025-09-26 23:00:20 -04:00
parent 83743df3e4
commit a840dd43dd
7 changed files with 720 additions and 0 deletions

View File

@@ -204,3 +204,11 @@ type DocsGenerateArgs struct {
NoResources bool `arg:"--no-resources" help:"skip resource doc generation"`
NoFunctions bool `arg:"--no-functions" help:"skip function doc generation"`
}
// ToolsGrowArgs is the util tool CLI parsing structure and type of the parsed
// result.
type ToolsGrowArgs struct {
Mount string `arg:"--mount,required" help:"root mount point to start with"`
Exec bool `arg:"--exec" help:"actually run these commands"`
Done string `arg:"--done" help:"create this file when done, skip if it exists"`
}