Documentation ¶
Overview ¶
Package cmd implements the command-line actions for the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Start = cli.Command{ Name: "start", Usage: "Starts the pipeline's processing", Action: start, Flags: []cli.Flag{ &cli.StringFlag{ Name: "path", Usage: "path to the directory containing files to process", Value: "/tmp", }, &cli.Uint64Flag{ Name: "sbs", Usage: "(scannerBufferSize) is the number of reusable bytes to use for the directory scanner's work", Value: kDefaultScannerBufferSize, }, &cli.Uint64Flag{ Name: "pcs", Usage: "(pathChanSize) is the number of file system paths that will be buffered in a channel in the pipeline", Value: kDefaultPathsChannelSize, }, &cli.Uint64Flag{ Name: "pcc", Usage: "(pathConsumerCount) is the number of concurrent and parallel goroutines that will consume paths from a channel in the pipeline", Value: kDefaultPathConsumerCount, }, }, } // Variable APipeline is the pipeline that has been created using the command-line information. // It is a global value that others can use. APipeline IPipeline = nil )
Variable Start is a command that defines the command line for starting the pipeline's processing.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.