gritpack sources

Give compilers the source files of modules and their dependencies

Generated from gritpack sources --helpGritpack 1.2.63
gritpack sources [OPTIONS] <COMMAND>

Commands

pack
Capture the project's sources and print the pack a compiler reads
get
Print the exact bytes of one source file from a captured generation
locate
Turn a place and byte offset into a file, line, and column for people
release
Release a captured generation the compiler has finished with

Options

-h, --helpPrint help

gritpack sources pack

Capture the project's sources and print the pack a compiler reads

gritpack sources pack [OPTIONS]

Options

--path <PATH>Project: a workspace, or a package directory with a gritpack.tomlDefault: .
--state <STATE>Where generations and captured bytes are keptDefault: PATH/.gritpack
--root <ROOTS>A root module, by its written name (repeatable)
--root-file <ROOT_FILES>A root given as the file that declares it (repeatable)
-h, --helpPrint help

gritpack sources get

Print the exact bytes of one source file from a captured generation

gritpack sources get [OPTIONS] <SOURCE>

Arguments

<SOURCE>Source identity from a pack

Options

--path <PATH>Project: a workspace, or a package directory with a gritpack.tomlDefault: .
--state <STATE>Where generations and captured bytes are keptDefault: PATH/.gritpack
--generation <GENERATION>Generation from the packDefault: the latest captured
-h, --helpPrint help

gritpack sources locate

Turn a place and byte offset into a file, line, and column for people

gritpack sources locate [OPTIONS] <PLACE> <OFFSET>

Arguments

<PLACE>Place identity from a pack
<OFFSET>Byte offset into that place's source

Options

--path <PATH>Project: a workspace, or a package directory with a gritpack.tomlDefault: .
--state <STATE>Where generations and captured bytes are keptDefault: PATH/.gritpack
--generation <GENERATION>Generation from the packDefault: the latest captured
-h, --helpPrint help

gritpack sources release

Release a captured generation the compiler has finished with.

Its bytes are removed unless another generation still names them.

gritpack sources release [OPTIONS] --generation <GENERATION>

Options

--path <PATH>Project: a workspace, or a package directory with a gritpack.tomlDefault: .
--state <STATE>Where generations and captured bytes are keptDefault: PATH/.gritpack
--generation <GENERATION>Generation to release
-h, --helpPrint help (see a summary with '-h')