]> khamidou — GitHub mirrors - arcanist.git/commit
Add an "arc alias" command
authorepriestley <git@epriestley.com>
Tue, 21 Feb 2012 21:16:52 +0000 (13:16 -0800)
committerepriestley <git@epriestley.com>
Tue, 21 Feb 2012 21:16:52 +0000 (13:16 -0800)
commitb058efbb51769e1d7ba9fea13a2f736dfdf0ee3c
treec9c436483a858c82bceed3bfd8c8f61a2ad78487
parent964bdb63bafad22005184c65ffa2128472ca992a
Add an "arc alias" command

Summary:
Allow users to easily define aliased arc commands. This is easier than making
them muck around with shell stuff, and lets me do stuff like "arc alias adiff
diff -- --auto" so I can test --auto more easily.

There are some limitations here (for example, you can't put --trace in an alias
because it gets parsed too early) but I think it's a reasonable starting point.

Test Plan: Set, listed, removed and used aliases.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, epriestley
Maniphest Tasks: T896

Differential Revision: https://secure.phabricator.com/D1653
scripts/arcanist.php
src/__phutil_library_map__.php
src/configuration/ArcanistConfiguration.php
src/workflow/alias/ArcanistAliasWorkflow.php [new file with mode: 0644]
src/workflow/alias/__init__.php [new file with mode: 0644]
src/workflow/base/ArcanistBaseWorkflow.php
src/workflow/base/__init__.php
src/workflow/install-certificate/ArcanistInstallCertificateWorkflow.php
src/workflow/install-certificate/__init__.php
src/workflow/shell-complete/ArcanistShellCompleteWorkflow.php
src/workflow/shell-complete/__init__.php