Documentation
¶
Overview ¶
Package cmd implements the compactfs command-line entry point.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfigPath ¶
DefaultConfigPath is the zero-configuration config location used by every command. It follows the current user's home directory and does not depend on the process working directory.
func Main ¶
Main runs the compactfs CLI and returns an error suitable for printing by the root main package. The command parser is github.com/lfhy/flag so config file, environment and command-line values follow one consistent precedence rule.
func ParseBytes ¶
ParseBytes accepts plain bytes and binary units such as MiB/GiB. Decimal units are accepted too, which keeps shell scripts compatible with common quota conventions.
Types ¶
This section is empty.