mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-29 18:22:41 +01:00
59e13f666f
Summary: I type "arc brnach" about 300 times per day. - Allow arc commands to be specified by unique prefix ("exp" for "export", "lib" for "liberate"). - Allow arc commands to be specified by unique levenshtein edit distance <= 2 ("brnach" for "branch", "halp" for "help", "ptach" for "patch"). - Reorganize code out of "arcanist.php". I think this will be uncontentious because arc commands are rarely destructive, but if people complain we can either require certain commands be typed exactly (maybe "land"?) or allow this feature to be disabled in configuration. Test Plan: $ arc br Usage Exception: Unknown command 'br'. Try 'arc help'. Did you mean: branch browse $ arc brnachh Usage Exception: Unknown command 'brnachh'. Try 'arc help'. $ arc brnach (Assuming 'brnach' is the British spelling of 'branch'.) doc-security No Revision security sms Needs Revision D319: Add SMS support to Phabricator phxtag No Revision derp arantag No Revision derp ... Reviewers: btrahan, vrana Reviewed By: btrahan CC: aran Differential Revision: https://secure.phabricator.com/D4305 |
||
---|---|---|
.. | ||
hgdaemon | ||
lib | ||
repository | ||
__init_script__.php | ||
arcanist.php | ||
breakout.py | ||
php_extension_classes.txt | ||
php_extension_functions.txt | ||
phutil_rebuild_map.php | ||
phutil_symbols.php | ||
update_compat_info.php |