nighthawk 0.2.0

AI terminal autocomplete — zero config, zero login, zero telemetry
Documentation
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
{
  "name": "gource",
  "description": "Gource is an OpenGL-based 3D visualisation tool for source control repositories",
  "options": [
    {
      "names": [
        "-h",
        "--help"
      ],
      "description": "Help ('-H' for extended help)"
    },
    {
      "names": [
        "--viewport"
      ],
      "description": "Set the viewport size. If -f is also supplied, will attempt to set the video mode to this also. Add `!` to make the window non-resizable",
      "takes_arg": true,
      "arg": {
        "name": "size",
        "description": "The size of the viewport (e.g. WIDTHxHEIGHT)",
        "suggestions": [
          "3840x2160",
          "2560x1440",
          "1920x1080",
          "1280x720",
          "800x600"
        ]
      }
    },
    {
      "names": [
        "-f"
      ],
      "description": "Fullscreen"
    },
    {
      "names": [
        "--screen"
      ],
      "description": "Set the number of the screen to display on",
      "takes_arg": true,
      "arg": {
        "name": "screen",
        "description": "The number of the screen to display on"
      }
    },
    {
      "names": [
        "--high-dpi"
      ],
      "description": "Request a high DPI display when creating the window. On some platforms such as MacOS, the window resolution is specified in points instead of pixels. The --high-dpi flag may be required to access some"
    },
    {
      "names": [
        "--window-position"
      ],
      "description": "Initial window position on your desktop which may be made up of multiple monitors. This will override the screen setting so don't specify both",
      "takes_arg": true,
      "arg": {
        "name": "position",
        "description": "The initial window position on your desktop (e.g. XxY)"
      }
    },
    {
      "names": [
        "--frameless"
      ],
      "description": "Frameless window"
    },
    {
      "names": [
        "--transparent"
      ],
      "description": "Make the background transparent. Only really useful for screenshots"
    },
    {
      "names": [
        "--start-date"
      ],
      "description": "Start with the first entry after the supplied date and optional time. If a time zone offset isn't specified the local time zone is used. Example accepted formats: 'YYYY-MM-DD', 'YYYY-MM-DD hh:mm', 'YY",
      "takes_arg": true,
      "arg": {
        "name": "date",
        "description": "The start date and optional time"
      }
    },
    {
      "names": [
        "--stop-date"
      ],
      "description": "Stop at the last entry prior to the supplied date and optional time. Uses the same format as --start-date",
      "takes_arg": true,
      "arg": {
        "name": "date",
        "description": "The stop date and optional time"
      }
    },
    {
      "names": [
        "-p",
        "--start-position"
      ],
      "description": "Begin at some position in the log (between 0.0 and 1.0 or 'random')",
      "takes_arg": true,
      "arg": {
        "name": "position",
        "description": "The start position in the log",
        "suggestions": [
          "random",
          "0.0",
          "0.1",
          "0.2",
          "0.3",
          "0.4",
          "0.5",
          "0.6",
          "0.7",
          "0.8",
          "0.9",
          "1.0"
        ]
      }
    },
    {
      "names": [
        "--stop-position"
      ],
      "description": "Stop (exit) at some position in the log (does not work with STDIN)",
      "takes_arg": true,
      "arg": {
        "name": "position",
        "description": "The stop position in the log",
        "suggestions": [
          "random",
          "0.0",
          "0.1",
          "0.2",
          "0.3",
          "0.4",
          "0.5",
          "0.6",
          "0.7",
          "0.8",
          "0.9",
          "1.0"
        ]
      }
    },
    {
      "names": [
        "-t",
        "--stop-at-time"
      ],
      "description": "Stop (exit) after a specified number of seconds",
      "takes_arg": true,
      "arg": {
        "name": "seconds",
        "description": "The number of seconds to wait before stopping"
      }
    },
    {
      "names": [
        "--stop-at-end"
      ],
      "description": "Stop (exit) at the end of the log / stream"
    },
    {
      "names": [
        "--loop"
      ],
      "description": "Loop back to the start of the log when the end is reached"
    },
    {
      "names": [
        "--loop-delay-seconds"
      ],
      "description": "Seconds to delay before looping",
      "takes_arg": true,
      "arg": {
        "name": "seconds"
      }
    },
    {
      "names": [
        "-a",
        "--auto-skip-seconds"
      ],
      "description": "Automatically skip to next entry if nothing happens for a specified number of seconds",
      "takes_arg": true,
      "arg": {
        "name": "seconds"
      }
    },
    {
      "names": [
        "-s",
        "--seconds-per-day"
      ],
      "description": "Speed of simulation in seconds per day",
      "takes_arg": true,
      "arg": {
        "name": "seconds"
      }
    },
    {
      "names": [
        "--realtime"
      ],
      "description": "Realtime playback speed"
    },
    {
      "names": [
        "--no-time-travel"
      ],
      "description": "Use the time of the last commit if the time of a commit is in the past"
    },
    {
      "names": [
        "-c",
        "--time-scale"
      ],
      "description": "Change simulation time scale"
    },
    {
      "names": [
        "-i",
        "--file-idle-time"
      ],
      "description": "Time in seconds files remain idle before they are removed or 0 for no limit"
    },
    {
      "names": [
        "--file-idle-time-at-end"
      ],
      "description": "Time in seconds files remain idle at the end before they are removed",
      "takes_arg": true,
      "arg": {
        "name": "seconds"
      }
    },
    {
      "names": [
        "-e",
        "--elasticity"
      ],
      "description": "Elasticity of nodes",
      "takes_arg": true,
      "arg": {
        "name": "elasticity",
        "description": "Elasticity of nodes"
      }
    },
    {
      "names": [
        "-b",
        "--background-colour"
      ],
      "description": "Background colour in hex",
      "takes_arg": true,
      "arg": {
        "name": "colour"
      }
    },
    {
      "names": [
        "--background-image"
      ],
      "description": "Set a background image",
      "takes_arg": true,
      "arg": {
        "name": "image file",
        "template": "filepaths"
      }
    },
    {
      "names": [
        "--title"
      ],
      "description": "Set a title",
      "takes_arg": true,
      "arg": {
        "name": "title"
      }
    },
    {
      "names": [
        "--font-file"
      ],
      "description": "Specify the font. Should work with most font file formats supported by FreeType, such as TTF and OTF, among others",
      "takes_arg": true,
      "arg": {
        "name": "font file",
        "template": "filepaths"
      }
    },
    {
      "names": [
        "--font-scale"
      ],
      "description": "Scale the size of all fonts",
      "takes_arg": true,
      "arg": {
        "name": "scale",
        "description": "Font scale"
      }
    },
    {
      "names": [
        "--font-size"
      ],
      "description": "Font size used by the date and title",
      "takes_arg": true,
      "arg": {
        "name": "size",
        "description": "Font size"
      }
    },
    {
      "names": [
        "--file-font-size"
      ],
      "description": "Font size of filenames",
      "takes_arg": true,
      "arg": {
        "name": "size",
        "description": "Font size"
      }
    },
    {
      "names": [
        "--dir-font-size"
      ],
      "description": "Font size of directory names",
      "takes_arg": true,
      "arg": {
        "name": "size",
        "description": "Font size"
      }
    },
    {
      "names": [
        "--user-font-size"
      ],
      "description": "Font size of user names",
      "takes_arg": true,
      "arg": {
        "name": "size",
        "description": "Font size"
      }
    },
    {
      "names": [
        "--font-colour"
      ],
      "description": "Font colour used by the date and title in hex",
      "takes_arg": true,
      "arg": {
        "name": "colour",
        "description": "Font colour"
      }
    },
    {
      "names": [
        "--key"
      ],
      "description": "Show file extension key"
    },
    {
      "names": [
        "--logo"
      ],
      "description": "Logo to display in the foreground",
      "takes_arg": true,
      "arg": {
        "name": "image file",
        "template": "filepaths"
      }
    },
    {
      "names": [
        "--logo-offset"
      ],
      "description": "Offset position of the logo",
      "takes_arg": true,
      "arg": {
        "name": "offset",
        "description": "Logo offset"
      }
    },
    {
      "names": [
        "--date-format"
      ],
      "description": "Specify display date string (strftime format)",
      "takes_arg": true,
      "arg": {
        "name": "format",
        "description": "Date format"
      }
    },
    {
      "names": [
        "--log-command"
      ],
      "description": "Show the log command used by gource (git,svn,hg,bzr,cvs2cl)",
      "takes_arg": true,
      "arg": {
        "name": "command",
        "description": "Log command",
        "suggestions": [
          "git",
          "svn",
          "hg",
          "bzr",
          "cvs2cl"
        ]
      }
    },
    {
      "names": [
        "--log-format"
      ],
      "description": "Specify format of the log being read (git,svn,hg,bzr,cvs2cl,custom). Required when reading from STDIN",
      "takes_arg": true,
      "arg": {
        "name": "format",
        "description": "Log format",
        "suggestions": [
          "git",
          "svn",
          "hg",
          "bzr",
          "cvs2cl",
          "custom"
        ]
      }
    },
    {
      "names": [
        "--git-branch"
      ],
      "description": "Get the git log of a branch other than the current one",
      "takes_arg": true,
      "arg": {
        "name": "branch"
      }
    },
    {
      "names": [
        "--follow-user"
      ],
      "description": "Have the camera automatically follow a particular user",
      "takes_arg": true,
      "arg": {
        "name": "username",
        "description": "Name of user to follow"
      }
    },
    {
      "names": [
        "--highlight-dirs"
      ],
      "description": "Highlight the names of all directories"
    },
    {
      "names": [
        "--highlight-user"
      ],
      "description": "Highlight the names of a particular user",
      "takes_arg": true,
      "arg": {
        "name": "username",
        "description": "Name of user to highlight"
      }
    },
    {
      "names": [
        "--highlight-users"
      ],
      "description": "Highlight the names of all users"
    },
    {
      "names": [
        "--highlight-colour"
      ],
      "description": "Font colour for highlighted users in hex",
      "takes_arg": true,
      "arg": {
        "name": "colour",
        "description": "Font colour (HEX)"
      }
    },
    {
      "names": [
        "--selection-colour"
      ],
      "description": "Font colour for selected users and files",
      "takes_arg": true,
      "arg": {
        "name": "colour",
        "description": "Font colour (HEX)"
      }
    },
    {
      "names": [
        "--filename-colour"
      ],
      "description": "Font colour for filenames",
      "takes_arg": true,
      "arg": {
        "name": "colour",
        "description": "Font colour (HEX)"
      }
    },
    {
      "names": [
        "--dir-colour"
      ],
      "description": "Font colour for directories",
      "takes_arg": true,
      "arg": {
        "name": "color",
        "description": "Dir colour (HEX)"
      }
    },
    {
      "names": [
        "--dir-name-depth"
      ],
      "description": "Draw names of directories down to a specific depth in the tree",
      "takes_arg": true,
      "arg": {
        "name": "depth"
      }
    },
    {
      "names": [
        "--dir-name-position"
      ],
      "description": "Position along edge of the directory name (between 0.1 and 1.0, default is 0.5)",
      "takes_arg": true,
      "arg": {
        "name": "position",
        "suggestions": [
          "0.1",
          "0.2",
          "0.3",
          "0.4",
          "0.5",
          "0.6",
          "0.7",
          "0.8",
          "0.9",
          "1.0"
        ]
      }
    },
    {
      "names": [
        "--filename-time"
      ],
      "description": "Duration to keep filenames on screen (>= 2.0)",
      "takes_arg": true,
      "arg": {
        "name": "time"
      }
    },
    {
      "names": [
        "--file-extensions"
      ],
      "description": "Show filename extensions only"
    },
    {
      "names": [
        "--file-extension-fallback"
      ],
      "description": "Use filename as extension if the extension is missing or empty"
    },
    {
      "names": [
        "--file-filter"
      ],
      "description": "Filter out file paths matching the specified regular expression",
      "takes_arg": true,
      "arg": {
        "name": "regex"
      }
    },
    {
      "names": [
        "--file-show-filter"
      ],
      "description": "Show only file paths matching the specified regular expression",
      "takes_arg": true,
      "arg": {
        "name": "regex"
      }
    },
    {
      "names": [
        "--user-filter"
      ],
      "description": "Filter usernames matching the specified regular expression",
      "takes_arg": true,
      "arg": {
        "name": "regex"
      }
    },
    {
      "names": [
        "--user-show-filter"
      ],
      "description": "Show only usernames matching the specified regular expression",
      "takes_arg": true,
      "arg": {
        "name": "regex"
      }
    },
    {
      "names": [
        "--user-image-dir"
      ],
      "description": "Directory containing .jpg or .png images of users (eg 'Full Name.png') to use as avatars",
      "takes_arg": true,
      "arg": {
        "name": "directory",
        "template": "folders"
      }
    },
    {
      "names": [
        "--default-user-image"
      ],
      "description": "Path of .jpg to use as the default user image",
      "takes_arg": true,
      "arg": {
        "name": "User image",
        "template": "filepaths"
      }
    },
    {
      "names": [
        "--fixed-user-size"
      ],
      "description": "Forces the size of the user image to remain fixed throughout"
    },
    {
      "names": [
        "--colour-images"
      ],
      "description": "Colourize user images"
    },
    {
      "names": [
        "--crop"
      ],
      "description": "Crop view on an axis (vertical,horizontal)",
      "takes_arg": true,
      "arg": {
        "name": "axis"
      }
    },
    {
      "names": [
        "--padding"
      ],
      "description": "Camera view padding",
      "takes_arg": true,
      "arg": {
        "name": "padding"
      }
    },
    {
      "names": [
        "--multi-sampling"
      ],
      "description": "Enable multi-sampling"
    },
    {
      "names": [
        "--no-vsync"
      ],
      "description": "Disable vsync"
    },
    {
      "names": [
        "--bloom-multiplier"
      ],
      "description": "Adjust the amount of bloom",
      "takes_arg": true,
      "arg": {
        "name": "multiplier"
      }
    },
    {
      "names": [
        "--bloom-intensity"
      ],
      "description": "Adjust the intensity of the bloom",
      "takes_arg": true,
      "arg": {
        "name": "intensity"
      }
    },
    {
      "names": [
        "--max-files"
      ],
      "description": "Set the maximum number of files or 0 for no limit. Excess files will be discarded",
      "takes_arg": true,
      "arg": {
        "name": "number"
      }
    },
    {
      "names": [
        "--max-file-lag"
      ],
      "description": "Max time files of a commit can take to appear. Use -1 for no limit",
      "takes_arg": true,
      "arg": {
        "name": "seconds"
      }
    },
    {
      "names": [
        "--max-user-speed"
      ],
      "description": "Max speed users can travel per second",
      "takes_arg": true,
      "arg": {
        "name": "units"
      }
    },
    {
      "names": [
        "--user-friction"
      ],
      "description": "Time users take to come to a halt",
      "takes_arg": true,
      "arg": {
        "name": "seconds"
      }
    },
    {
      "names": [
        "--user-scale"
      ],
      "description": "Change scale of user avatars",
      "takes_arg": true,
      "arg": {
        "name": "scale"
      }
    },
    {
      "names": [
        "--camera-mode"
      ],
      "description": "Camera mode (overview,track)",
      "takes_arg": true,
      "arg": {
        "name": "mode",
        "suggestions": [
          "overview",
          "track"
        ]
      }
    },
    {
      "names": [
        "--disable-auto-rotate"
      ],
      "description": "Disable automatic camera rotation"
    },
    {
      "names": [
        "--disable-input"
      ],
      "description": "Disable keyboard and mouse input"
    },
    {
      "names": [
        "--hide"
      ],
      "description": "Hide one or more display elements from the list below: bloom - bloom effect date - current date dirnames - names of directories files - file icons filenames - names of files mouse - mouse cursor progr",
      "takes_arg": true,
      "arg": {
        "name": "element",
        "description": "Element to hide (Separate multiple elements with commas (eg \"mouse,progress\"))",
        "is_variadic": true,
        "suggestions": [
          "bloom",
          "date",
          "dirnames",
          "files",
          "filenames",
          "mouse",
          "progress",
          "root",
          "tree",
          "users",
          "usernames"
        ]
      }
    },
    {
      "names": [
        "--hash-seed"
      ],
      "description": "Change the seed of hash function",
      "takes_arg": true,
      "arg": {
        "name": "seed"
      }
    },
    {
      "names": [
        "--caption-file"
      ],
      "description": "Caption file (see Caption Log Format)",
      "takes_arg": true,
      "arg": {
        "name": "file",
        "template": "filepaths"
      }
    },
    {
      "names": [
        "--caption-size"
      ],
      "description": "Caption size",
      "takes_arg": true,
      "arg": {
        "name": "size"
      }
    },
    {
      "names": [
        "--caption-colour"
      ],
      "description": "Caption colour in hex",
      "takes_arg": true,
      "arg": {
        "name": "colour",
        "description": "Colour in hex (eg #ff0000)"
      }
    },
    {
      "names": [
        "--caption-duration"
      ],
      "description": "Caption duration",
      "takes_arg": true,
      "arg": {
        "name": "seconds"
      }
    },
    {
      "names": [
        "--caption-offset"
      ],
      "description": "Caption horizontal offset (0 to centre captions)",
      "takes_arg": true,
      "arg": {
        "name": "offset"
      }
    },
    {
      "names": [
        "-o",
        "--output-ppm-stream"
      ],
      "description": "Output a PPM image stream to a file ('-' for STDOUT). This will automatically hide the progress bar initially and enable 'stop-at-end' unless other behaviour is specified",
      "takes_arg": true,
      "arg": {
        "name": "file",
        "template": "filepaths"
      }
    },
    {
      "names": [
        "-r",
        "--output-framerate"
      ],
      "description": "Framerate of output (25,30,60). Used with --output-ppm-stream",
      "takes_arg": true,
      "arg": {
        "name": "fps",
        "suggestions": [
          "25",
          "30",
          "60",
          "120"
        ]
      }
    },
    {
      "names": [
        "--output-custom-log"
      ],
      "description": "Output a custom format log file ('-' for STDOUT)",
      "takes_arg": true,
      "arg": {
        "name": "file",
        "template": "filepaths"
      }
    },
    {
      "names": [
        "--load-config"
      ],
      "description": "Load a config file",
      "takes_arg": true,
      "arg": {
        "name": "config file",
        "template": "filepaths"
      }
    },
    {
      "names": [
        "--save-config"
      ],
      "description": "Save a config file with the current options",
      "takes_arg": true,
      "arg": {
        "name": "config file",
        "template": "filepaths"
      }
    },
    {
      "names": [
        "--path"
      ],
      "description": "Either a supported version control directory, a pre-generated log file (see log commands or the custom log format), a Gource conf file or '-' to read STDIN",
      "takes_arg": true,
      "arg": {
        "name": "path",
        "template": "filepaths"
      }
    }
  ]
}