Discover Packages
github.com/fogfish/chalk
rt
internal
spool
package
Version:
v0.0.13
Opens a new window with list of versions in this module.
Published: Jun 12, 2026
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package spool resolves chalk's standard input/output routing
(local directory, S3 bucket, explicit file list, stdin/stdout) to
github.com/fogfish/stream/spool primitives. It is shared by rt/cli and
rt/cobra.
Source resolves the input file system and walker.
inputDir starting with "s3://" -> S3 bucket, walk from "/"
inputDir (local path) -> local directory, walk from "/"
len(args) != 0 -> current directory, walk listed files
otherwise -> stdin, walked as a single "STDIN" entry
Target resolves the output file system.
outputDir starting with "s3://" -> S3 bucket
outputDir (local path) -> local directory
outputFile -> single file
otherwise -> stdout
Source Files
¶
Click to show internal directories.
Click to hide internal directories.