Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateParams ¶
type CreateParams struct {
Output string `short:"o" help:"Output archive file name (format auto-detected from extension)"`
Files []string `pos:"true" optional:"true" help:"Files and directories to archive"`
Verbose bool `short:"v" optional:"true" help:"Verbose output - list files as they are added"`
Format string `` /* 176-byte string literal not displayed */
Password string `short:"p" optional:"true" help:"Password for encrypted ZIP archives"`
Encryption string `` /* 171-byte string literal not displayed */
}
CreateParams holds parameters for archive creation
type ExtractParams ¶
type ExtractParams struct {
Archive string `pos:"true" help:"Archive file to extract"`
Output string `short:"o" optional:"true" help:"Output directory (default: current directory)" default:"."`
Verbose bool `short:"v" optional:"true" help:"Verbose output - list files as they are extracted"`
Password string `short:"p" optional:"true" help:"Password for encrypted archives (zip, 7z, rar)"`
}
ExtractParams holds parameters for archive extraction
type ListParams ¶
type ListParams struct {
Archive string `pos:"true" help:"Archive file to list"`
Long bool `short:"l" optional:"true" help:"Long listing format (show size and permissions)"`
Password string `short:"p" optional:"true" help:"Password for encrypted archives (zip, 7z, rar)"`
}
ListParams holds parameters for listing archive contents
Click to show internal directories.
Click to hide internal directories.