MirrorCommand constructor

MirrorCommand()

Implementation

MirrorCommand() {
  argParser.addOption(
    'target',
    valueHelp: 'directory',
    help: 'target directory',
  );
  argParser.addFlag(
    'relative',
    negatable: true,
    defaultsTo: true,
    help: 'mirror source use relative directory.',
  );
  argParser.addOption(
    'tail',
    defaultsTo: '0',
    help: 'tail source injection to target.',
  );
}