addWorkspaceOptions method

void addWorkspaceOptions()
inherited

Implementation

void addWorkspaceOptions() {
  argParser
    ..addOption(
      'workspace',
      help:
          'Enable the file/repository tools (apollovm.fs.*, search.*, code.*, '
          'git.*) rooted at this directory. Omit to stay inline-source-only.',
      valueHelp: 'dir',
    )
    ..addFlag(
      'allow-write',
      help:
          'Permit mutating filesystem tools (fs.write/edit/mkdir/move/delete).',
      negatable: false,
    )
    ..addFlag(
      'allow-git-write',
      help: 'Permit mutating git tools (git.add/commit/checkout/restore).',
      negatable: false,
    )
    ..addFlag(
      'require-line-match',
      help: 'Require every fs.edit to pin its expected line via `atLine`.',
      negatable: false,
    );
}