File: arc.cat1

package info (click to toggle)
phabricator 0~git20190207-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 71,728 kB
  • sloc: php: 552,244; sql: 16,997; ansic: 3,619; yacc: 2,503; sh: 754; xml: 519; lex: 488; cpp: 221; python: 186; makefile: 177; sed: 66
file content (1002 lines) | stat: -rw-r--r-- 37,437 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
NAME
      arc - arcanist, a code review and revision management utility

SYNOPSIS
      arc command [options] [args]
      This help file provides a detailed command reference.

COMMAND REFERENCE

      alias
      alias command
      alias command target -- [options]
          Supports: cli
          Create an alias from command to target (optionally, with
          options). For example:

            arc alias fpatch patch -- --force

          ...will create a new 'arc' command, 'arc fpatch', which invokes
          'arc patch --force ...' when run. NOTE: use "--" before specifying
          options!

          If you start an alias with "!", the remainder of the alias will be
          invoked as a shell command. For example, if you want to implement
          'arc ls', you can do so like this:

            arc alias ls '!ls'

          You can now run "arc ls" and it will behave like "ls". Of course, this
          example is silly and would make your life worse.

          You can not overwrite builtins, including 'alias' itself. The builtin
          will always execute, even if it was added after your alias.

          To remove an alias, run:

            arc alias fpatch

          Without any arguments, 'arc alias' will list aliases.


      amend [--revision revision_id] [--show]
          Supports: git, hg
          Amend the working copy, synchronizing the local commit message from
          Differential.

          Supported in Mercurial 2.2 and newer.

          --revision revision_id
              Use the message from a specific revision. If you do not specify
              a revision, arc will guess which revision is in the working
              copy.

          --show
              Show the amended commit message, without modifying the working
              copy.


      anoid
          There's only one way to find out...


      backout
          Reverts/backouts on a previous commit. Supports: git, hg
   Command is used like this: arc backout <commithash> | <diff revision>
   Entering a differential revision will only work if there is only one commit
   associated with the revision. This requires your working copy is up to date
   and that the commit exists in the working copy.


      bookmark [options]
      bookmark name [start]
          Supports: hg
          Alias for arc feature.

          --by-status
              Sort branches by status instead of time.

          --output format
              With 'json', show features in machine-readable JSON format.

          --view-all
              Include closed and abandoned revisions.


      branch [options]
      branch name [start]
          Supports: git
          Alias for arc feature.

          --by-status
              Sort branches by status instead of time.

          --output format
              With 'json', show features in machine-readable JSON format.

          --view-all
              Include closed and abandoned revisions.


      browse [options] path ...
      browse [options] object ...
          Supports: git, hg, svn
          Open a file or object (like a task or revision) in your web browser.

            $ arc browse README   # Open a file in Diffusion.
            $ arc browse T123     # View a task.
            $ arc browse HEAD     # View a symbolic commit.

          Set the 'browser' value using 'arc set-config' to select a browser. If
          no browser is set, the command will try to guess which browser to use.

          --branch branch_name
              Default branch name to view on server. Defaults to "master".

          --force
              Open arguments as paths, even if they do not exist in the
              working copy.


      call-conduit method
          Supports: http, https
          Allows you to make a raw Conduit method call:

            - Run this command from a working directory.
            - Call parameters are REQUIRED and read as a JSON blob from stdin.
            - Results are written to stdout as a JSON blob.

          This workflow is primarily useful for writing scripts which integrate
          with Phabricator. Examples:

            $ echo '{}' | arc call-conduit conduit.ping
            $ echo '{"phid":"PHID-FILE-xxxx"}' | arc call-conduit file.download


      close task_id [options]
        Close a task or otherwise update its status.

          --list-statuses
              Show available status options and exit.

          --message comment, -m comment
              Provide a comment with your status change.

          --status status, -s status
              Specify a new status. Valid status options can be seen with the
              `list-statuses` argument.


      close-revision [options] revision
          Supports: git, hg, svn
          Close a revision which has been committed (svn) or pushed (git, hg).
          You should not normally need to do this: arc commit (svn), arc amend
          (git, hg), arc land (git, hg), or repository tracking on the master
          remote repository should do it for you. However, if these mechanisms
          have failed for some reason you can use this command to manually
          change a revision status from "Accepted" to "Closed".

          --finalize
              Close only if the repository is untracked and the revision is
              accepted. Continue even if the close can't happen. This is a
              soft version of '' used by other workflows.

          --quiet
              Do not print a success message.


      commit [--revision revision_id] [--show]
          Supports: svn
          Commit a revision which has been accepted by a reviewer.

          --revision revision_id
              Commit a specific revision. If you do not specify a revision,
              arc will look for committable revisions.

          --show
              Show the command which would be issued, but do not actually
              commit anything.


      cover [--rev revision] [path ...]
          Supports: svn, git, hg
          Cover your... professional reputation. Show blame for the lines you
          changed in your working copy (svn) or since some commit (hg, git).
          This will take a minute because blame takes a minute, especially under
          SVN.

          --rev revision
              Supports: git, hg
              Cover changes since a specific revision.


      diff [paths] (svn)
      diff [commit] (git, hg)
          Supports: git, svn, hg
          Generate a Differential diff or revision from local changes.

          Under git and mercurial, you can specify a commit (like HEAD^^^
          or master) and Differential will generate a diff against the
          merge base of that commit and your current working directory parent.

          Under svn, you can choose to include only some of the modified files
          in the working copy in the diff by specifying their paths. If you
          omit paths, all changes are included in the diff.

          --add-all, -a
              Automatically add all unstaged and uncommitted files to the
              commit.

          --advice
              Require excuse for lint advice in addition to lint warnings and
              errors.

          --allow-untracked
              Skip checks for untracked files in the working copy.

          --amend-all
              When linting git repositories, amend HEAD with all patches
              suggested by lint without prompting.

          --amend-autofixes
              When linting git repositories, amend HEAD with autofix patches
              suggested by lint without prompting.

          --apply-patches
              Apply patches suggested by lint to the working copy without
              prompting.

          --base rules
              Supports: git, hg
              Additional rules for determining base revision.

          --browse
              After creating a diff or revision, open it in a web browser.

          --cache bool
              0 to disable lint cache, 1 to enable (default).

          --cc usernames
              When creating a revision, add CCs.

          --coverage
              Always enable coverage information.

          --create
              Always create a new revision.

          --edit
              Supports: git, hg
              When updating a revision under git, edit revision information
              before updating.

          --encoding encoding
              Attempt to convert non UTF-8 hunks into specified encoding.

          --excuse excuse
              Provide a prepared in advance excuse for any lints/tests shall
              they fail.

          --head commit
              Supports: git
              Specify the end of the commit range. This disables many
              Arcanist/Phabricator features which depend on having access to
              the working copy.

          --ignore-unsound-tests
              Ignore unsound test failures without prompting.

          --json
              Emit machine-readable JSON. EXPERIMENTAL! Probably does not
              work!

          --less-context
              Normally, files are diffed with full context: the entire file
              is sent to Differential so reviewers can 'show more' and see
              it. If you are making changes to very large files with tens of
              thousands of lines, this may not work well. With this flag, a
              diff will be created that has only a few lines of context.

          --lintall
              Raise all lint warnings, not just those on lines you changed.

          --message message, -m message
              When updating a revision, use the specified message instead of
              prompting.

          --message-file file, -F file
              When creating a revision, read revision information from this
              file.

          --never-apply-patches
              Never apply patches suggested by lint.

          --no-amend
              Never amend commits in the working copy with lint patches.

          --no-coverage
              Always disable coverage information.

          --no-diff
              Only run lint and unit tests. Intended for internal use.

          --nolint
              Do not run lint.

          --nounit
              Do not run unit tests.

          --only
              Only generate a diff, without running lint, unit tests, or
              other auxiliary steps. See also --preview.

          --only-new bool
              Display only lint messages not present in the original code.

          --plan-changes
              Create or update a revision without requesting a code review.

          --preview
              Instead of creating or updating a revision, only create a diff,
              which you may later attach to a revision. This still runs lint
              unit tests. See also --only.

          --raw
              Read diff from stdin, not from the working copy. This disables
              many Arcanist/Phabricator features which depend on having
              access to the working copy.

          --raw-command command
              Generate diff by executing a specified command, not from the
              working copy. This disables many Arcanist/Phabricator features
              which depend on having access to the working copy.

          --reviewers usernames
              When creating a revision, add reviewers.

          --skip-binaries
              Do not upload binaries (like images).

          --skip-staging
              Do not copy changes to the staging area.

          --uncommitted
              Supports: hg
              Suppress warning about uncommitted changes.

          --update revision_id
              Always update a specific revision.

          --use-commit-message commit, -C commit
              Supports: git
              Read revision information from a specific commit.

          --verbatim
              Supports: hg, git
              When creating a revision, try to use the working copy commit
              message verbatim, without prompting to edit it. When updating a
              revision, update some fields from the local commit message.


      download file [--as name] [--show]
          Supports: filesystems
          Download a file to local disk, e.g.:

            $ arc download F33              # Download file 'F33'

          --as name
              Save the file with a specific name rather than the default.

          --show
              Write file to stdout instead of to disk.


      export [paths] format (svn)
      export [commit_range] format (git, hg)
      export --revision revision_id format
      export --diff diff_id format
          Supports: svn, git, hg
          Export the local changeset (or a Differential changeset) to a file,
          in some format: git diff (--git), unified diff
          (--unified), or arc bundle (--arcbundle path) format.

          --arcbundle file
              Export change as an arc bundle. This format can represent all
              changes. These bundles can be applied with 'arc patch'.

          --diff diff_id
              Instead of exporting changes from the working copy, export them
              from a Differential diff.

          --encoding encoding
              Attempt to convert non UTF-8 patch into specified encoding.

          --git
              Export change as a git patch. This format is more complete than
              unified, but less complete than arc bundles. These patches can
              be applied with 'git apply' or 'arc patch'.

          --revision revision_id
              Instead of exporting changes from the working copy, export them
              from a Differential revision.

          --unified
              Export change as a unified patch. This format is less complete
              than git patches or arc bundles. These patches can be applied
              with 'patch' or 'arc patch'.


      feature [options]
      feature name [start]
          Supports: git, hg
          A wrapper on 'git branch' or 'hg bookmark'.

          Without name, it lists the available branches and their revision
          status.

          With name, it creates or checks out a branch. If the branch
          name doesn't exist and is in format D123 then the branch of
          revision D123 is checked out. Use start to specify where the new
          branch will start. Use 'arc.feature.start.default' to set the default
          feature start location.

          --by-status
              Sort branches by status instead of time.

          --output format
              With 'json', show features in machine-readable JSON format.

          --view-all
              Include closed and abandoned revisions.


      flag [object ...]
      flag object --clear
      flag object [--edit] [--color color] [--note note]
          In the first form, list objects you've flagged. You can provide the
          names of one or more objects (Maniphest tasks T#, Differential
          revisions D#, Diffusion references rXXX???, or PHIDs PHID-XXX-???)
          to print only flags for those objects.

          In the second form, clear an existing flag on one object.

          In the third form, create or update a flag on one object. Color
          defaults to blue and note to empty, but if you omit both you must
          pass --edit.

          --clear
              Delete the flag on an object.

          --color color
              Set the color of a flag.

          --edit
              Edit the flag on an object.

          --note note
              Set the note on a flag.


      get-config [options] -- [name ...]
          Supports: cli
          Reads an arc configuration option. With no argument, reads all
          options.

          With --verbose, shows detailed information about one or more
          options.

          --verbose
              Show detailed information about options.


      help [command]
      help --full
          Supports: english
          Shows this help. With command, shows help about a specific
          command.

          --full
              Print detailed information about each command.


      install-certificate [uri]
          Supports: http, https
          Installs Conduit credentials into your ~/.arcrc for the given install
          of Phabricator. You need to do this before you can use 'arc', as it
          enables 'arc' to link your command-line activity with your account on
          the web. Run this command from within a project directory to install
          that project's certificate, or specify an explicit URI (like
          "https://phabricator.example.com/").


      land [options] [ref]
          Supports: git, hg

          Publish an accepted revision after review. This command is the last
          step in the standard Differential pre-publish code review workflow.

          This command merges and pushes changes associated with an accepted
          revision that are currently sitting in ref, which is usually the
          name of a local branch. Without ref, the current working copy
          state will be used.

          Under Git: branches, tags, and arbitrary commits (detached HEADs)
          may be landed.

          Under Mercurial: branches and bookmarks may be landed, but only
          onto a target of the same type. See T3855.

          The workflow selects a target branch to land onto and a remote where
          the change will be pushed to.

          A target branch is selected by examining these sources in order:

            - the --onto flag;
            - the upstream of the current branch, recursively (Git only);
            - the arc.land.onto.default configuration setting;
            - or by falling back to a standard default:
              - "master" in Git;
              - "default" in Mercurial.

          A remote is selected by examining these sources in order:

            - the --remote flag;
            - the upstream of the current branch, recursively (Git only);
            - or by falling back to a standard default:
              - "origin" in Git;
              - the default remote in Mercurial.

          After selecting a target branch and a remote, the commits which will
          be landed are printed.

          With --preview, execution stops here, before the change is
          merged.

          The change is merged with the changes in the target branch,
          following these rules:

          In repositories with mutable history or with --squash, this will
          perform a squash merge (the entire branch will be represented as one
          commit after the merge).

          In repositories with immutable history or with --merge, this will
          perform a strict merge (a merge commit will always be created, and
          local commits will be preserved).

          The resulting commit will be given an up-to-date commit message
          describing the final state of the revision in Differential.

          In Git, the merge occurs in a detached HEAD. The local branch
          reference (if one exists) is not updated yet.

          With --hold, execution stops here, before the change is pushed.

          The change is pushed into the remote.

          Consulting mystical sources of power, the workflow makes a guess
          about what state you wanted to end up in after the process finishes
          and the working copy is put into that state.

          The branch which was landed is deleted, unless the --keep-branch
          flag was passed or the landing branch is the same as the target
          branch.


          --delete-remote
              Delete the feature branch in the remote after landing it.

          --hold
              Prepare the change to be pushed, but do not actually push it.

          --keep-branch
              Keep the feature branch after pushing changes to the remote (by
              default, it is deleted).

          --merge
              Supports: git
              Perform a --no-ff merge, not a --squash merge. If the project
              is marked as having an immutable history, this is the default
              behavior.

          --onto master
              Land feature branch onto a branch other than the default
              ('master' in git, 'default' in hg). You can change the default
              by setting 'arc.land.onto.default' with `arc set-config` or for
              the entire project in .arcconfig.

          --preview
              Prints the commits that would be landed. Does not actually
              modify or land the commits.

          --remote origin
              Push to a remote other than the default ('origin' in git).

          --revision id
              Use the message from a specific revision, rather than inferring
              the revision based on branch content.

          --squash
              Perform a --squash merge, not a --no-ff merge. If the project
              is marked as having a mutable history, this is the default
              behavior.

          --update-with-merge
              Supports: git
              When updating the feature branch, use merge instead of rebase.
              This is the default behavior. Setting arc.land.update.default
              to 'merge' can also be used to make this the default.

          --update-with-rebase
              Supports: git
              When updating the feature branch, use rebase instead of merge.
              This might make things work better in some cases. Set
              arc.land.update.default to 'rebase' to make this the default.


      liberate [path]
          Supports: libphutil
          Create or update a libphutil library, generating required metadata
          files like init.php.

          --all
              Drop the module cache before liberating. This will completely
              reanalyze the entire library. Thorough, but slow!

          --force-update
              Force the library map to be updated, even in the presence of
              lint errors.

          --library-name name
              Use a flag for library name rather than awaiting user input.


      lint [options] [paths]
      lint [options] --rev [rev]
          Supports: git, svn, hg
          Run static analysis on changes to check for mistakes. If no files
          are specified, lint will be run on all files which have been modified.

          --amend-all
              When linting git repositories, amend HEAD with all patches
              suggested by lint without prompting.

          --amend-autofixes
              When linting git repositories, amend HEAD with autofix patches
              suggested by lint without prompting.

          --apply-patches
              Apply patches suggested by lint to the working copy without
              prompting.

          --cache bool
              0 to disable cache, 1 to enable. The default value is
              determined by 'arc.lint.cache' in configuration, which defaults
              to off. See notes in 'arc.lint.cache'.

          --engine classname
              Override configured lint engine for this project.

          --everything
              Lint all files in the project.

          --lintall
              Show all lint warnings, not just those on changed lines. When
              paths are specified, this is the default behavior.

          --never-apply-patches
              Never apply patches suggested by lint.

          --only-changed
              Show lint warnings just on changed lines. When no paths are
              specified, this is the default. This differs from only-new in
              cases where line modifications introduce lint on other
              unmodified lines.

          --only-new bool
              Supports: git, hg
              Display only messages not present in the original code.

          --outfile path
              Output the linter results to a file. Defaults to stdout.

          --output format
              With 'summary', show lint warnings in a more compact format.
              With 'json', show lint warnings in machine-readable JSON
              format. With 'none', show no lint warnings. With 'compiler',
              show lint warnings in suitable for your editor. With 'xml',
              show lint warnings in the Checkstyle XML format.

          --rev revision
              Supports: git, hg
              Lint changes since a specific revision.

          --severity string
              Set minimum message severity. One of: 'advice', 'autofix',
              'warning', 'error', 'disabled'. Defaults to 'advice'.


      linters [options] [name]
          Supports: cli
          List the available and configured linters, with information about
          what they do and which versions are installed.

          if name is provided, the linter with that name will be displayed.

          --search search
              Search for linters. Search is case-insensitive, and is
              performedagainst name and description of each linter.

          --verbose
              Show detailed information, including options.


      list
          Supports: git, svn, hg
          List your open Differential revisions.


      paste [--title title] [--lang language] [--json]
      paste id [--json]
          Supports: text
          Share and grab text using the Paste application. To create a paste,
          use stdin to provide the text:

            $ cat list_of_ducks.txt | arc paste

          To retrieve a paste, specify the paste ID:

            $ arc paste P123

          --json
              Output in JSON format.

          --lang language
              Language for syntax highlighting.

          --title title
              Title for the paste.


      patch D12345
      patch --revision revision_id
      patch --diff diff_id
      patch --patch file
      patch --arcbundle bundlefile
          Supports: git, svn, hg
          Apply the changes in a Differential revision, patchfile, or arc
          bundle to the working copy.

          --arcbundle bundlefile
              Apply changes from an arc bundle generated with 'arc export'.

          --diff diff_id
              Apply changes from a Differential diff. Normally you want to
              use --revision to get the most recent changes, but you can
              specifically apply an out-of-date diff or a diff which was
              never attached to a revision by using this flag.

          --encoding encoding
              Attempt to convert non UTF-8 patch into specified encoding.

          --force
              Do not run any sanity checks.

          --nobranch
              Supports: git, hg
              Normally, a new branch (git) or bookmark (hg) is created and
              then the patch is applied and committed in the new
              branch/bookmark. This flag cherry-picks the resultant commit
              onto the original branch and deletes the temporary branch.

          --nocommit
              Supports: git, hg
              Normally under git/hg, if the patch is successful, the changes
              are committed to the working copy. This flag prevents the
              commit.

          --patch patchfile
              Apply changes from a git patchfile or unified patchfile.

          --revision revision_id
              Apply changes from a Differential revision, using the most
              recent diff that has been attached to it. You can run 'arc
              patch D12345' as a shorthand.

          --skip-dependencies
              Supports: git, hg
              Normally, if a patch has dependencies that are not present in
              the working copy, arc tries to apply them as well. This flag
              prevents such work.

          --update
              Supports: git, svn, hg
              Update the local working copy before applying the patch.


      revert
    Please use arc backout instead


      set-config [options] -- name value
          Supports: cli
          Sets an arc configuration option.

          Options are either user (apply to all arc commands you invoke
          from the current user) or local (apply only to the current working
          copy). By default, user configuration is written. Use --local
          to write local configuration.

          User values are written to '~/.arcrc' on Linux and Mac OS X, and an
          undisclosed location on Windows. Local values are written to an arc
          directory under either .git, .hg, or .svn as appropriate.

          --local
              Set a local config value instead of a user one.


      shell-complete --current N -- [argv]
          Supports: bash, etc.
          Implements shell completion. To use shell completion, source the
          appropriate script from 'resources/shell/' in your .shellrc.

          --current cursor_position
              Current term in the argument list being completed.


      start object
          Start tracking work in Phrequent.


      stop [--note note] [objects]
          Stop tracking work in Phrequent.

          --note note
              A note to attach to the tracked time.


      tasks [options]
        View all assigned tasks.

          --limit n
              Limit the amount of tasks outputted, default is all.

          --order task_order
              Arrange tasks based on priority, created, or modified, default
              is priority.

          --owner username
              Only show tasks assigned to the given username, also accepts
              @all to show all, default is you.

          --status task_status
              Show tasks that are open or closed, default is open.

          --unassigned
              Only show tasks that are not assigned (upforgrabs).


      time
          Show what you're currently tracking in Phrequent.


      todo summary [options]
        Quickly create a task for yourself.

          --browse
              After creating the task, open it in a web browser.

          --cc cc, -C cc
              Other users to CC on the new task.

          --project project
              Projects to assign to the task.


      unit [options] [paths]
      unit [options] --rev [rev]
          Supports: git, svn, hg
          Run unit tests that cover specified paths. If no paths are specified,
          unit tests covering all modified files will be run.

          --coverage
              Always enable coverage information.

          --detailed-coverage
              Show a detailed coverage report on the CLI. Implies --coverage.

          --engine classname
              Override configured unit engine for this project.

          --everything
              Run every test.

          --json
              Report results in JSON format.

          --no-coverage
              Always disable coverage information.

          --output format
              With 'full', show full pretty report (Default). With 'json',
              report results in JSON format. With 'ugly', use uglier (but
              more efficient) JSON formatting. With 'none', don't print
              results.

          --rev revision
              Supports: git, hg
              Run unit tests covering changes since a specific revision.

          --target phid
              (PROTOTYPE) Record a copy of the test results on the specified
              Harbormaster build target.

          --ugly
              With --json, use uglier (but more efficient) formatting.


      upgrade
          Supports: cli
          Upgrade arcanist and libphutil to the latest versions.


      upload file [file ...] [--json]
          Supports: filesystems
          Upload a file from local disk.

          --json
              Output upload information in JSON format.

          --temporary
              Mark the file as temporary. Temporary files will be deleted
              automatically after 24 hours.


      version [options]
          Supports: cli
          Shows the current version of arcanist.


      which [options] (svn)
      which [options] [commit] (hg, git)
          Supports: svn, git, hg
          Shows which repository the current working copy corresponds to,
          which commits 'arc diff' will select, and which revision is in
          the working copy (or which revisions, if more than one matches).

          --any-status
              Show committed and abandoned revisions.

          --base rules
              Supports: git, hg
              Additional rules for determining base revision.

          --head commit
              Supports: git
              Specify the end of the commit range to select.

          --show-base
              Supports: git, hg
              Print base commit only and exit.


OPTION REFERENCE

      --trace
          Debugging command. Shows underlying commands as they are executed,
          and full stack traces when exceptions are thrown.

      --no-ansi
          Output in plain ASCII text only, without color or style.

      --ansi
          Use formatting even in environments which probably don't support it.
          Example: arc --ansi unit | less -r

      --load-phutil-library=/path/to/library
          Ignore libraries listed in .arcconfig and explicitly load specified
          libraries instead. Mostly useful for Arcanist development.

      --conduit-uri uri
          Ignore configured Conduit URI and use an explicit one instead. Mostly
          useful for Arcanist development.

      --conduit-token token
          Ignore configured credentials and use an explicit API token instead.

      --conduit-version version
          Ignore software version and claim to be running some other version
          instead. Mostly useful for Arcanist development. May cause bad things
          to happen.

      --conduit-timeout timeout
          Override the default Conduit timeout. Specified in seconds.

      --config key=value
          Specify a runtime configuration value. This will take precedence
          over static values, and only affect the current arcanist invocation.

      --skip-arcconfig
          Skip the working copy configuration file

      --arcrc-file filename
          Use provided file instead of ~/.arcrc.