localRemoteOptions top-level property

List<FigOption> localRemoteOptions
final

本地/远程操作选项

Implementation

final List<FigOption> localRemoteOptions = [
  FigOption(
    name: ['-l', '--local'],
    description: 'Restrict operations to the LOCAL domain',
    exclusiveOn: ['--remote', '--both'],
  ),
  FigOption(
    name: ['-r', '--remote'],
    description: 'Restrict operations to the REMOTE domain',
    exclusiveOn: ['--local', '--both'],
  ),
  FigOption(
    name: ['-b', '--both'],
    description: 'Allow LOCAL and REMOTE operations',
    exclusiveOn: ['--remote', '--local'],
  ),
  FigOption(
    name: ['-B', '--bulk-threshold'],
    description:
        'Threshold for switching to bulk synchronization (default 1000)',
    args: [
      FigArg(
        name: 'COUNT',
        description: 'The threshold',
      ),
    ],
  ),
  FigOption(
    name: '--clear-sources',
    description: 'Clear the gem sources',
  ),
  FigOption(
    name: ['-s', '--source'],
    description: 'Append URL to list of remote gem sources',
    args: [
      FigArg(
        name: 'URL',
        description: 'The URL',
      ),
    ],
  ),
  ...httpProxyOptions,
];