CompressCommand constructor

CompressCommand()

Implementation

CompressCommand() {
  argParser
    ..addMultiOption(
      'input-path',
      abbr: 'i',
      help: 'Specify path to input file or directory',
    )
    ..addOption('output-file-path',
        abbr: 'o',
        defaultsTo: Directory.current.path,
        help: 'Specify path to store compressed file')
    ..addOption('format',
        abbr: 'f',
        allowed: ["zip", "tar"],
        defaultsTo: "zip",
        help: 'Specify compression file format');
}