B0_cmdlet.EnvCmdlet execution environments.
type cmdlet = tSee B0_cmdlet.t.
val v : cwd:B00_std.Fpath.t -> scope_dir:B00_std.Fpath.t -> root_dir:B00_std.Fpath.t -> b0_dir:B00_std.Fpath.t -> cmdlet:cmdlet -> tv ~cwd ~scope_dir ~root_dir ~cmdlet is an execution context with given parameters. See corresponding accessors for semantics.
val cwd : t -> B00_std.Fpath.tcwd c is the absolute path to the current working directory.
val scope_dir : t -> B00_std.Fpath.tscope_dir c is the absolute path to the directory of the B0 file in which the cmdlet is defined or the root directory if the cmdlet is defined the global scope.
val root_dir : t -> B00_std.Fpath.troot_dir c is the root directory.
val b0_dir : t -> B00_std.Fpath.tb0_dir c is the b0 directory.
val scratch_dir : t -> B00_std.Fpath.tscratch_dir c is a shared scratch directory for cmdlets in b0_dir. The directory must be created it may not exist, it's content may be destroyed at any time and cmdlets are in charge of inventing a naming scheme to avoid collisions.