<?php

final class ArcanistArcToolset extends ArcanistToolset {

  const TOOLSETKEY = 'arc';

  public function getToolsetArguments() {
    return array(
      array(
        'name' => 'conduit-uri',
        'param' => 'uri',
        'help' => pht('Connect to Phabricator install specified by __uri__.'),
      ),
      array(
        'name' => 'conduit-token',
        'param' => 'token',
        'help' => pht('Use a specific authentication token.'),
      ),
      array(
        'name' => 'anonymous',
        'help' => pht('Run workflow as a public user, without authenticating.'),
      ),
    );
  }

}

<?php

final class ArcanistArcToolset extends ArcanistToolset {

  const TOOLSETKEY = 'arc';

  public function getToolsetArguments() {
    return array(
      array(
        'name' => 'conduit-uri',
        'param' => 'uri',
        'help' => pht('Connect to Phabricator install specified by __uri__.'),
      ),
      array(
        'name' => 'conduit-token',
        'param' => 'token',
        'help' => pht('Use a specific authentication token.'),
      ),
    );
  }

}

Drop intended support for "--anonymous" from Arcanist Toolsets
Drop intended support for "--anonymous" from Arcanist Toolsets

Summary:
Currently, modern "arc" workflows accept and parse "--anonymous" but don't do anything with it.

I intend to move away from anonymous workflows, which only really supported a tiny subset of unusual workflows on open source installs but added significant complexity to login/auth behavior.

Drop support for this flag.

Test Plan: Grepped for "anonymous", didn't turn up any relevant hits.

Differential Revision: https://secure.phabricator.com/D21386
