centy 0.0.18 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/add/asset.d.ts +2 -1
- package/dist/commands/add/asset.d.ts.map +1 -1
- package/dist/commands/add/asset.js +14 -5
- package/dist/commands/add/asset.js.map +1 -1
- package/dist/commands/create/pr.d.ts +3 -3
- package/dist/commands/create/pr.d.ts.map +1 -1
- package/dist/commands/create/pr.js +11 -33
- package/dist/commands/create/pr.js.map +1 -1
- package/dist/commands/get/issue.d.ts.map +1 -1
- package/dist/commands/get/issue.js +4 -2
- package/dist/commands/get/issue.js.map +1 -1
- package/dist/daemon/types.d.ts +1 -0
- package/dist/daemon/types.d.ts.map +1 -1
- package/dist/lib/create-pr/create-pr.d.ts +8 -0
- package/dist/lib/create-pr/create-pr.d.ts.map +1 -0
- package/dist/lib/create-pr/create-pr.js +111 -0
- package/dist/lib/create-pr/create-pr.js.map +1 -0
- package/dist/lib/create-pr/gather-basic-fields.d.ts +8 -0
- package/dist/lib/create-pr/gather-basic-fields.d.ts.map +1 -0
- package/dist/lib/create-pr/gather-basic-fields.js +34 -0
- package/dist/lib/create-pr/gather-basic-fields.js.map +1 -0
- package/dist/lib/create-pr/gather-metadata-fields.d.ts +11 -0
- package/dist/lib/create-pr/gather-metadata-fields.d.ts.map +1 -0
- package/dist/lib/create-pr/gather-metadata-fields.js +34 -0
- package/dist/lib/create-pr/gather-metadata-fields.js.map +1 -0
- package/dist/lib/create-pr/gather-pr-input.d.ts +8 -0
- package/dist/lib/create-pr/gather-pr-input.d.ts.map +1 -0
- package/dist/lib/create-pr/gather-pr-input.js +33 -0
- package/dist/lib/create-pr/gather-pr-input.js.map +1 -0
- package/dist/lib/create-pr/index.d.ts +2 -0
- package/dist/lib/create-pr/index.d.ts.map +1 -0
- package/dist/lib/create-pr/index.js +2 -0
- package/dist/lib/create-pr/index.js.map +1 -0
- package/dist/lib/create-pr/prompt-for-description.d.ts +6 -0
- package/dist/lib/create-pr/prompt-for-description.d.ts.map +1 -0
- package/dist/lib/create-pr/prompt-for-description.js +12 -0
- package/dist/lib/create-pr/prompt-for-description.js.map +1 -0
- package/dist/lib/create-pr/prompt-for-linked-issues.d.ts +7 -0
- package/dist/lib/create-pr/prompt-for-linked-issues.d.ts.map +1 -0
- package/dist/lib/create-pr/prompt-for-linked-issues.js +22 -0
- package/dist/lib/create-pr/prompt-for-linked-issues.js.map +1 -0
- package/dist/lib/create-pr/prompt-for-priority.d.ts +9 -0
- package/dist/lib/create-pr/prompt-for-priority.d.ts.map +1 -0
- package/dist/lib/create-pr/prompt-for-priority.js +25 -0
- package/dist/lib/create-pr/prompt-for-priority.js.map +1 -0
- package/dist/lib/create-pr/prompt-for-reviewers.d.ts +7 -0
- package/dist/lib/create-pr/prompt-for-reviewers.d.ts.map +1 -0
- package/dist/lib/create-pr/prompt-for-reviewers.js +22 -0
- package/dist/lib/create-pr/prompt-for-reviewers.js.map +1 -0
- package/dist/lib/create-pr/prompt-for-source-branch.d.ts +7 -0
- package/dist/lib/create-pr/prompt-for-source-branch.d.ts.map +1 -0
- package/dist/lib/create-pr/prompt-for-source-branch.js +20 -0
- package/dist/lib/create-pr/prompt-for-source-branch.js.map +1 -0
- package/dist/lib/create-pr/prompt-for-status.d.ts +9 -0
- package/dist/lib/create-pr/prompt-for-status.d.ts.map +1 -0
- package/dist/lib/create-pr/prompt-for-status.js +25 -0
- package/dist/lib/create-pr/prompt-for-status.js.map +1 -0
- package/dist/lib/create-pr/prompt-for-target-branch.d.ts +7 -0
- package/dist/lib/create-pr/prompt-for-target-branch.d.ts.map +1 -0
- package/dist/lib/create-pr/prompt-for-target-branch.js +15 -0
- package/dist/lib/create-pr/prompt-for-target-branch.js.map +1 -0
- package/dist/lib/create-pr/prompt-for-title.d.ts +6 -0
- package/dist/lib/create-pr/prompt-for-title.d.ts.map +1 -0
- package/dist/lib/create-pr/prompt-for-title.js +12 -0
- package/dist/lib/create-pr/prompt-for-title.js.map +1 -0
- package/dist/lib/create-pr/types.d.ts +14 -0
- package/dist/lib/create-pr/types.d.ts.map +1 -0
- package/dist/lib/create-pr/types.js +2 -0
- package/dist/lib/create-pr/types.js.map +1 -0
- package/dist/tui/App.d.ts.map +1 -1
- package/dist/tui/App.js +30 -0
- package/dist/tui/App.js.map +1 -1
- package/dist/tui/components/domain/PRCreate.d.ts +2 -0
- package/dist/tui/components/domain/PRCreate.d.ts.map +1 -0
- package/dist/tui/components/domain/PRCreate.js +195 -0
- package/dist/tui/components/domain/PRCreate.js.map +1 -0
- package/dist/tui/components/domain/PRDetail.d.ts +2 -0
- package/dist/tui/components/domain/PRDetail.d.ts.map +1 -0
- package/dist/tui/components/domain/PRDetail.js +119 -0
- package/dist/tui/components/domain/PRDetail.js.map +1 -0
- package/dist/tui/components/domain/PREdit.d.ts +2 -0
- package/dist/tui/components/domain/PREdit.d.ts.map +1 -0
- package/dist/tui/components/domain/PREdit.js +259 -0
- package/dist/tui/components/domain/PREdit.js.map +1 -0
- package/dist/tui/components/domain/PRList.d.ts +2 -0
- package/dist/tui/components/domain/PRList.d.ts.map +1 -0
- package/dist/tui/components/domain/PRList.js +178 -0
- package/dist/tui/components/domain/PRList.js.map +1 -0
- package/dist/tui/hooks/usePullRequests.d.ts +8 -0
- package/dist/tui/hooks/usePullRequests.d.ts.map +1 -0
- package/dist/tui/hooks/usePullRequests.js +36 -0
- package/dist/tui/hooks/usePullRequests.js.map +1 -0
- package/dist/tui/index.d.ts.map +1 -1
- package/dist/tui/index.js +5 -3
- package/dist/tui/index.js.map +1 -1
- package/dist/tui/services/daemon-service.d.ts +29 -1
- package/dist/tui/services/daemon-service.d.ts.map +1 -1
- package/dist/tui/services/daemon-service.js +87 -0
- package/dist/tui/services/daemon-service.js.map +1 -1
- package/dist/tui/state/app-state.d.ts +22 -2
- package/dist/tui/state/app-state.d.ts.map +1 -1
- package/dist/tui/state/app-state.js +23 -1
- package/dist/tui/state/app-state.js.map +1 -1
- package/dist/tui/types/views.d.ts +2 -1
- package/dist/tui/types/views.d.ts.map +1 -1
- package/dist/tui/types/views.js +6 -0
- package/dist/tui/types/views.js.map +1 -1
- package/dist/tui/utils/local-config.d.ts +4 -1
- package/dist/tui/utils/local-config.d.ts.map +1 -1
- package/dist/tui/utils/local-config.js +10 -1
- package/dist/tui/utils/local-config.js.map +1 -1
- package/dist/types/create-pr-options.d.ts +30 -0
- package/dist/types/create-pr-options.d.ts.map +1 -0
- package/dist/types/create-pr-options.js +2 -0
- package/dist/types/create-pr-options.js.map +1 -0
- package/dist/types/create-pr-result.d.ts +16 -0
- package/dist/types/create-pr-result.d.ts.map +1 -0
- package/dist/types/create-pr-result.js +2 -0
- package/dist/types/create-pr-result.js.map +1 -0
- package/oclif.manifest.json +164 -157
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -363,9 +363,10 @@
|
|
|
363
363
|
"required": true
|
|
364
364
|
}
|
|
365
365
|
},
|
|
366
|
-
"description": "Add an asset to an issue or as a shared asset",
|
|
366
|
+
"description": "Add an asset to an issue, PR, or as a shared asset",
|
|
367
367
|
"examples": [
|
|
368
368
|
"<%= config.bin %> add asset screenshot.png --issue 1",
|
|
369
|
+
"<%= config.bin %> add asset screenshot.png --pr 1",
|
|
369
370
|
"<%= config.bin %> add asset diagram.svg --shared",
|
|
370
371
|
"<%= config.bin %> add asset image.jpg --issue 1 --name my-image.jpg"
|
|
371
372
|
],
|
|
@@ -378,9 +379,17 @@
|
|
|
378
379
|
"multiple": false,
|
|
379
380
|
"type": "option"
|
|
380
381
|
},
|
|
382
|
+
"pr": {
|
|
383
|
+
"char": "p",
|
|
384
|
+
"description": "PR ID or display number to attach the asset to",
|
|
385
|
+
"name": "pr",
|
|
386
|
+
"hasDynamicHelp": false,
|
|
387
|
+
"multiple": false,
|
|
388
|
+
"type": "option"
|
|
389
|
+
},
|
|
381
390
|
"shared": {
|
|
382
391
|
"char": "s",
|
|
383
|
-
"description": "Add as a shared asset (accessible by all issues)",
|
|
392
|
+
"description": "Add as a shared asset (accessible by all issues/PRs)",
|
|
384
393
|
"name": "shared",
|
|
385
394
|
"allowNo": false,
|
|
386
395
|
"type": "boolean"
|
|
@@ -549,7 +558,6 @@
|
|
|
549
558
|
"char": "t",
|
|
550
559
|
"description": "PR title",
|
|
551
560
|
"name": "title",
|
|
552
|
-
"required": true,
|
|
553
561
|
"hasDynamicHelp": false,
|
|
554
562
|
"multiple": false,
|
|
555
563
|
"type": "option"
|
|
@@ -609,7 +617,6 @@
|
|
|
609
617
|
"status": {
|
|
610
618
|
"description": "Initial status (draft/open)",
|
|
611
619
|
"name": "status",
|
|
612
|
-
"default": "draft",
|
|
613
620
|
"hasDynamicHelp": false,
|
|
614
621
|
"multiple": false,
|
|
615
622
|
"options": [
|
|
@@ -635,52 +642,7 @@
|
|
|
635
642
|
"pr.js"
|
|
636
643
|
]
|
|
637
644
|
},
|
|
638
|
-
"
|
|
639
|
-
"aliases": [],
|
|
640
|
-
"args": {},
|
|
641
|
-
"description": "Configure daemon to start automatically on boot",
|
|
642
|
-
"examples": [
|
|
643
|
-
"<%= config.bin %> daemon autostart",
|
|
644
|
-
"<%= config.bin %> daemon autostart --enable",
|
|
645
|
-
"<%= config.bin %> daemon autostart --disable"
|
|
646
|
-
],
|
|
647
|
-
"flags": {
|
|
648
|
-
"enable": {
|
|
649
|
-
"description": "Enable autostart on boot",
|
|
650
|
-
"exclusive": [
|
|
651
|
-
"disable"
|
|
652
|
-
],
|
|
653
|
-
"name": "enable",
|
|
654
|
-
"allowNo": false,
|
|
655
|
-
"type": "boolean"
|
|
656
|
-
},
|
|
657
|
-
"disable": {
|
|
658
|
-
"description": "Disable autostart on boot",
|
|
659
|
-
"exclusive": [
|
|
660
|
-
"enable"
|
|
661
|
-
],
|
|
662
|
-
"name": "disable",
|
|
663
|
-
"allowNo": false,
|
|
664
|
-
"type": "boolean"
|
|
665
|
-
}
|
|
666
|
-
},
|
|
667
|
-
"hasDynamicHelp": false,
|
|
668
|
-
"hiddenAliases": [],
|
|
669
|
-
"id": "daemon:autostart",
|
|
670
|
-
"pluginAlias": "centy",
|
|
671
|
-
"pluginName": "centy",
|
|
672
|
-
"pluginType": "core",
|
|
673
|
-
"strict": true,
|
|
674
|
-
"enableJsonFlag": false,
|
|
675
|
-
"isESM": true,
|
|
676
|
-
"relativePath": [
|
|
677
|
-
"dist",
|
|
678
|
-
"commands",
|
|
679
|
-
"daemon",
|
|
680
|
-
"autostart.js"
|
|
681
|
-
]
|
|
682
|
-
},
|
|
683
|
-
"get:asset": {
|
|
645
|
+
"delete:asset": {
|
|
684
646
|
"aliases": [],
|
|
685
647
|
"args": {
|
|
686
648
|
"filename": {
|
|
@@ -689,10 +651,11 @@
|
|
|
689
651
|
"required": true
|
|
690
652
|
}
|
|
691
653
|
},
|
|
692
|
-
"description": "
|
|
654
|
+
"description": "Delete an asset",
|
|
693
655
|
"examples": [
|
|
694
|
-
"<%= config.bin %>
|
|
695
|
-
"<%= config.bin %>
|
|
656
|
+
"<%= config.bin %> delete asset screenshot.png --issue 1",
|
|
657
|
+
"<%= config.bin %> delete asset logo.svg --shared",
|
|
658
|
+
"<%= config.bin %> delete asset old-image.png --issue 1 --force"
|
|
696
659
|
],
|
|
697
660
|
"flags": {
|
|
698
661
|
"issue": {
|
|
@@ -705,23 +668,22 @@
|
|
|
705
668
|
},
|
|
706
669
|
"shared": {
|
|
707
670
|
"char": "s",
|
|
708
|
-
"description": "
|
|
671
|
+
"description": "Delete a shared asset",
|
|
709
672
|
"name": "shared",
|
|
710
673
|
"allowNo": false,
|
|
711
674
|
"type": "boolean"
|
|
712
675
|
},
|
|
713
|
-
"
|
|
714
|
-
"char": "
|
|
715
|
-
"description": "
|
|
716
|
-
"name": "
|
|
717
|
-
"
|
|
718
|
-
"
|
|
719
|
-
"type": "option"
|
|
676
|
+
"force": {
|
|
677
|
+
"char": "f",
|
|
678
|
+
"description": "Skip confirmation prompt",
|
|
679
|
+
"name": "force",
|
|
680
|
+
"allowNo": false,
|
|
681
|
+
"type": "boolean"
|
|
720
682
|
}
|
|
721
683
|
},
|
|
722
684
|
"hasDynamicHelp": false,
|
|
723
685
|
"hiddenAliases": [],
|
|
724
|
-
"id": "
|
|
686
|
+
"id": "delete:asset",
|
|
725
687
|
"pluginAlias": "centy",
|
|
726
688
|
"pluginName": "centy",
|
|
727
689
|
"pluginType": "core",
|
|
@@ -731,11 +693,11 @@
|
|
|
731
693
|
"relativePath": [
|
|
732
694
|
"dist",
|
|
733
695
|
"commands",
|
|
734
|
-
"
|
|
696
|
+
"delete",
|
|
735
697
|
"asset.js"
|
|
736
698
|
]
|
|
737
699
|
},
|
|
738
|
-
"
|
|
700
|
+
"delete:doc": {
|
|
739
701
|
"aliases": [],
|
|
740
702
|
"args": {
|
|
741
703
|
"slug": {
|
|
@@ -744,22 +706,23 @@
|
|
|
744
706
|
"required": true
|
|
745
707
|
}
|
|
746
708
|
},
|
|
747
|
-
"description": "
|
|
709
|
+
"description": "Delete a documentation file",
|
|
748
710
|
"examples": [
|
|
749
|
-
"<%= config.bin %>
|
|
750
|
-
"<%= config.bin %>
|
|
711
|
+
"<%= config.bin %> delete doc getting-started",
|
|
712
|
+
"<%= config.bin %> delete doc api-reference --force"
|
|
751
713
|
],
|
|
752
714
|
"flags": {
|
|
753
|
-
"
|
|
754
|
-
"
|
|
755
|
-
"
|
|
715
|
+
"force": {
|
|
716
|
+
"char": "f",
|
|
717
|
+
"description": "Skip confirmation prompt",
|
|
718
|
+
"name": "force",
|
|
756
719
|
"allowNo": false,
|
|
757
720
|
"type": "boolean"
|
|
758
721
|
}
|
|
759
722
|
},
|
|
760
723
|
"hasDynamicHelp": false,
|
|
761
724
|
"hiddenAliases": [],
|
|
762
|
-
"id": "
|
|
725
|
+
"id": "delete:doc",
|
|
763
726
|
"pluginAlias": "centy",
|
|
764
727
|
"pluginName": "centy",
|
|
765
728
|
"pluginType": "core",
|
|
@@ -769,11 +732,11 @@
|
|
|
769
732
|
"relativePath": [
|
|
770
733
|
"dist",
|
|
771
734
|
"commands",
|
|
772
|
-
"
|
|
735
|
+
"delete",
|
|
773
736
|
"doc.js"
|
|
774
737
|
]
|
|
775
738
|
},
|
|
776
|
-
"
|
|
739
|
+
"delete:issue": {
|
|
777
740
|
"aliases": [],
|
|
778
741
|
"args": {
|
|
779
742
|
"id": {
|
|
@@ -782,23 +745,24 @@
|
|
|
782
745
|
"required": true
|
|
783
746
|
}
|
|
784
747
|
},
|
|
785
|
-
"description": "
|
|
748
|
+
"description": "Delete an issue",
|
|
786
749
|
"examples": [
|
|
787
|
-
"<%= config.bin %>
|
|
788
|
-
"<%= config.bin %>
|
|
789
|
-
"<%= config.bin %>
|
|
750
|
+
"<%= config.bin %> delete issue 1",
|
|
751
|
+
"<%= config.bin %> delete issue abc123-uuid",
|
|
752
|
+
"<%= config.bin %> delete issue 1 --force"
|
|
790
753
|
],
|
|
791
754
|
"flags": {
|
|
792
|
-
"
|
|
793
|
-
"
|
|
794
|
-
"
|
|
755
|
+
"force": {
|
|
756
|
+
"char": "f",
|
|
757
|
+
"description": "Skip confirmation prompt",
|
|
758
|
+
"name": "force",
|
|
795
759
|
"allowNo": false,
|
|
796
760
|
"type": "boolean"
|
|
797
761
|
}
|
|
798
762
|
},
|
|
799
763
|
"hasDynamicHelp": false,
|
|
800
764
|
"hiddenAliases": [],
|
|
801
|
-
"id": "
|
|
765
|
+
"id": "delete:issue",
|
|
802
766
|
"pluginAlias": "centy",
|
|
803
767
|
"pluginName": "centy",
|
|
804
768
|
"pluginType": "core",
|
|
@@ -808,11 +772,11 @@
|
|
|
808
772
|
"relativePath": [
|
|
809
773
|
"dist",
|
|
810
774
|
"commands",
|
|
811
|
-
"
|
|
775
|
+
"delete",
|
|
812
776
|
"issue.js"
|
|
813
777
|
]
|
|
814
778
|
},
|
|
815
|
-
"
|
|
779
|
+
"delete:pr": {
|
|
816
780
|
"aliases": [],
|
|
817
781
|
"args": {
|
|
818
782
|
"id": {
|
|
@@ -821,23 +785,24 @@
|
|
|
821
785
|
"required": true
|
|
822
786
|
}
|
|
823
787
|
},
|
|
824
|
-
"description": "
|
|
788
|
+
"description": "Delete a pull request",
|
|
825
789
|
"examples": [
|
|
826
|
-
"<%= config.bin %>
|
|
827
|
-
"<%= config.bin %>
|
|
828
|
-
"<%= config.bin %>
|
|
790
|
+
"<%= config.bin %> delete pr 1",
|
|
791
|
+
"<%= config.bin %> delete pr abc123-uuid",
|
|
792
|
+
"<%= config.bin %> delete pr 1 --force"
|
|
829
793
|
],
|
|
830
794
|
"flags": {
|
|
831
|
-
"
|
|
832
|
-
"
|
|
833
|
-
"
|
|
795
|
+
"force": {
|
|
796
|
+
"char": "f",
|
|
797
|
+
"description": "Skip confirmation prompt",
|
|
798
|
+
"name": "force",
|
|
834
799
|
"allowNo": false,
|
|
835
800
|
"type": "boolean"
|
|
836
801
|
}
|
|
837
802
|
},
|
|
838
803
|
"hasDynamicHelp": false,
|
|
839
804
|
"hiddenAliases": [],
|
|
840
|
-
"id": "
|
|
805
|
+
"id": "delete:pr",
|
|
841
806
|
"pluginAlias": "centy",
|
|
842
807
|
"pluginName": "centy",
|
|
843
808
|
"pluginType": "core",
|
|
@@ -847,36 +812,42 @@
|
|
|
847
812
|
"relativePath": [
|
|
848
813
|
"dist",
|
|
849
814
|
"commands",
|
|
850
|
-
"
|
|
815
|
+
"delete",
|
|
851
816
|
"pr.js"
|
|
852
817
|
]
|
|
853
818
|
},
|
|
854
|
-
"
|
|
819
|
+
"daemon:autostart": {
|
|
855
820
|
"aliases": [],
|
|
856
|
-
"args": {
|
|
857
|
-
|
|
858
|
-
"description": "Path to the project (defaults to current directory)",
|
|
859
|
-
"name": "path",
|
|
860
|
-
"required": false
|
|
861
|
-
}
|
|
862
|
-
},
|
|
863
|
-
"description": "Get info about a specific project",
|
|
821
|
+
"args": {},
|
|
822
|
+
"description": "Configure daemon to start automatically on boot",
|
|
864
823
|
"examples": [
|
|
865
|
-
"<%= config.bin %>
|
|
866
|
-
"<%= config.bin %>
|
|
867
|
-
"<%= config.bin %>
|
|
824
|
+
"<%= config.bin %> daemon autostart",
|
|
825
|
+
"<%= config.bin %> daemon autostart --enable",
|
|
826
|
+
"<%= config.bin %> daemon autostart --disable"
|
|
868
827
|
],
|
|
869
828
|
"flags": {
|
|
870
|
-
"
|
|
871
|
-
"description": "
|
|
872
|
-
"
|
|
829
|
+
"enable": {
|
|
830
|
+
"description": "Enable autostart on boot",
|
|
831
|
+
"exclusive": [
|
|
832
|
+
"disable"
|
|
833
|
+
],
|
|
834
|
+
"name": "enable",
|
|
835
|
+
"allowNo": false,
|
|
836
|
+
"type": "boolean"
|
|
837
|
+
},
|
|
838
|
+
"disable": {
|
|
839
|
+
"description": "Disable autostart on boot",
|
|
840
|
+
"exclusive": [
|
|
841
|
+
"enable"
|
|
842
|
+
],
|
|
843
|
+
"name": "disable",
|
|
873
844
|
"allowNo": false,
|
|
874
845
|
"type": "boolean"
|
|
875
846
|
}
|
|
876
847
|
},
|
|
877
848
|
"hasDynamicHelp": false,
|
|
878
849
|
"hiddenAliases": [],
|
|
879
|
-
"id": "
|
|
850
|
+
"id": "daemon:autostart",
|
|
880
851
|
"pluginAlias": "centy",
|
|
881
852
|
"pluginName": "centy",
|
|
882
853
|
"pluginType": "core",
|
|
@@ -886,11 +857,11 @@
|
|
|
886
857
|
"relativePath": [
|
|
887
858
|
"dist",
|
|
888
859
|
"commands",
|
|
889
|
-
"
|
|
890
|
-
"
|
|
860
|
+
"daemon",
|
|
861
|
+
"autostart.js"
|
|
891
862
|
]
|
|
892
863
|
},
|
|
893
|
-
"
|
|
864
|
+
"get:asset": {
|
|
894
865
|
"aliases": [],
|
|
895
866
|
"args": {
|
|
896
867
|
"filename": {
|
|
@@ -899,11 +870,10 @@
|
|
|
899
870
|
"required": true
|
|
900
871
|
}
|
|
901
872
|
},
|
|
902
|
-
"description": "
|
|
873
|
+
"description": "Get an asset and save it to a file",
|
|
903
874
|
"examples": [
|
|
904
|
-
"<%= config.bin %>
|
|
905
|
-
"<%= config.bin %>
|
|
906
|
-
"<%= config.bin %> delete asset old-image.png --issue 1 --force"
|
|
875
|
+
"<%= config.bin %> get asset screenshot.png --issue 1 --output ./screenshot.png",
|
|
876
|
+
"<%= config.bin %> get asset logo.svg --shared --output ./logo.svg"
|
|
907
877
|
],
|
|
908
878
|
"flags": {
|
|
909
879
|
"issue": {
|
|
@@ -916,22 +886,23 @@
|
|
|
916
886
|
},
|
|
917
887
|
"shared": {
|
|
918
888
|
"char": "s",
|
|
919
|
-
"description": "
|
|
889
|
+
"description": "Get a shared asset",
|
|
920
890
|
"name": "shared",
|
|
921
891
|
"allowNo": false,
|
|
922
892
|
"type": "boolean"
|
|
923
893
|
},
|
|
924
|
-
"
|
|
925
|
-
"char": "
|
|
926
|
-
"description": "
|
|
927
|
-
"name": "
|
|
928
|
-
"
|
|
929
|
-
"
|
|
894
|
+
"output": {
|
|
895
|
+
"char": "o",
|
|
896
|
+
"description": "Output file path (defaults to asset filename)",
|
|
897
|
+
"name": "output",
|
|
898
|
+
"hasDynamicHelp": false,
|
|
899
|
+
"multiple": false,
|
|
900
|
+
"type": "option"
|
|
930
901
|
}
|
|
931
902
|
},
|
|
932
903
|
"hasDynamicHelp": false,
|
|
933
904
|
"hiddenAliases": [],
|
|
934
|
-
"id": "
|
|
905
|
+
"id": "get:asset",
|
|
935
906
|
"pluginAlias": "centy",
|
|
936
907
|
"pluginName": "centy",
|
|
937
908
|
"pluginType": "core",
|
|
@@ -941,11 +912,11 @@
|
|
|
941
912
|
"relativePath": [
|
|
942
913
|
"dist",
|
|
943
914
|
"commands",
|
|
944
|
-
"
|
|
915
|
+
"get",
|
|
945
916
|
"asset.js"
|
|
946
917
|
]
|
|
947
918
|
},
|
|
948
|
-
"
|
|
919
|
+
"get:doc": {
|
|
949
920
|
"aliases": [],
|
|
950
921
|
"args": {
|
|
951
922
|
"slug": {
|
|
@@ -954,23 +925,22 @@
|
|
|
954
925
|
"required": true
|
|
955
926
|
}
|
|
956
927
|
},
|
|
957
|
-
"description": "
|
|
928
|
+
"description": "Get a documentation file by slug",
|
|
958
929
|
"examples": [
|
|
959
|
-
"<%= config.bin %>
|
|
960
|
-
"<%= config.bin %>
|
|
930
|
+
"<%= config.bin %> get doc getting-started",
|
|
931
|
+
"<%= config.bin %> get doc api-reference --json"
|
|
961
932
|
],
|
|
962
933
|
"flags": {
|
|
963
|
-
"
|
|
964
|
-
"
|
|
965
|
-
"
|
|
966
|
-
"name": "force",
|
|
934
|
+
"json": {
|
|
935
|
+
"description": "Output as JSON",
|
|
936
|
+
"name": "json",
|
|
967
937
|
"allowNo": false,
|
|
968
938
|
"type": "boolean"
|
|
969
939
|
}
|
|
970
940
|
},
|
|
971
941
|
"hasDynamicHelp": false,
|
|
972
942
|
"hiddenAliases": [],
|
|
973
|
-
"id": "
|
|
943
|
+
"id": "get:doc",
|
|
974
944
|
"pluginAlias": "centy",
|
|
975
945
|
"pluginName": "centy",
|
|
976
946
|
"pluginType": "core",
|
|
@@ -980,11 +950,11 @@
|
|
|
980
950
|
"relativePath": [
|
|
981
951
|
"dist",
|
|
982
952
|
"commands",
|
|
983
|
-
"
|
|
953
|
+
"get",
|
|
984
954
|
"doc.js"
|
|
985
955
|
]
|
|
986
956
|
},
|
|
987
|
-
"
|
|
957
|
+
"get:issue": {
|
|
988
958
|
"aliases": [],
|
|
989
959
|
"args": {
|
|
990
960
|
"id": {
|
|
@@ -993,24 +963,23 @@
|
|
|
993
963
|
"required": true
|
|
994
964
|
}
|
|
995
965
|
},
|
|
996
|
-
"description": "
|
|
966
|
+
"description": "Get a single issue by ID or display number",
|
|
997
967
|
"examples": [
|
|
998
|
-
"<%= config.bin %>
|
|
999
|
-
"<%= config.bin %>
|
|
1000
|
-
"<%= config.bin %>
|
|
968
|
+
"<%= config.bin %> get issue 1",
|
|
969
|
+
"<%= config.bin %> get issue abc123-uuid",
|
|
970
|
+
"<%= config.bin %> get issue 1 --json"
|
|
1001
971
|
],
|
|
1002
972
|
"flags": {
|
|
1003
|
-
"
|
|
1004
|
-
"
|
|
1005
|
-
"
|
|
1006
|
-
"name": "force",
|
|
973
|
+
"json": {
|
|
974
|
+
"description": "Output as JSON",
|
|
975
|
+
"name": "json",
|
|
1007
976
|
"allowNo": false,
|
|
1008
977
|
"type": "boolean"
|
|
1009
978
|
}
|
|
1010
979
|
},
|
|
1011
980
|
"hasDynamicHelp": false,
|
|
1012
981
|
"hiddenAliases": [],
|
|
1013
|
-
"id": "
|
|
982
|
+
"id": "get:issue",
|
|
1014
983
|
"pluginAlias": "centy",
|
|
1015
984
|
"pluginName": "centy",
|
|
1016
985
|
"pluginType": "core",
|
|
@@ -1020,11 +989,11 @@
|
|
|
1020
989
|
"relativePath": [
|
|
1021
990
|
"dist",
|
|
1022
991
|
"commands",
|
|
1023
|
-
"
|
|
992
|
+
"get",
|
|
1024
993
|
"issue.js"
|
|
1025
994
|
]
|
|
1026
995
|
},
|
|
1027
|
-
"
|
|
996
|
+
"get:pr": {
|
|
1028
997
|
"aliases": [],
|
|
1029
998
|
"args": {
|
|
1030
999
|
"id": {
|
|
@@ -1033,24 +1002,23 @@
|
|
|
1033
1002
|
"required": true
|
|
1034
1003
|
}
|
|
1035
1004
|
},
|
|
1036
|
-
"description": "
|
|
1005
|
+
"description": "Get a single pull request by ID or display number",
|
|
1037
1006
|
"examples": [
|
|
1038
|
-
"<%= config.bin %>
|
|
1039
|
-
"<%= config.bin %>
|
|
1040
|
-
"<%= config.bin %>
|
|
1007
|
+
"<%= config.bin %> get pr 1",
|
|
1008
|
+
"<%= config.bin %> get pr abc123-uuid",
|
|
1009
|
+
"<%= config.bin %> get pr 1 --json"
|
|
1041
1010
|
],
|
|
1042
1011
|
"flags": {
|
|
1043
|
-
"
|
|
1044
|
-
"
|
|
1045
|
-
"
|
|
1046
|
-
"name": "force",
|
|
1012
|
+
"json": {
|
|
1013
|
+
"description": "Output as JSON",
|
|
1014
|
+
"name": "json",
|
|
1047
1015
|
"allowNo": false,
|
|
1048
1016
|
"type": "boolean"
|
|
1049
1017
|
}
|
|
1050
1018
|
},
|
|
1051
1019
|
"hasDynamicHelp": false,
|
|
1052
1020
|
"hiddenAliases": [],
|
|
1053
|
-
"id": "
|
|
1021
|
+
"id": "get:pr",
|
|
1054
1022
|
"pluginAlias": "centy",
|
|
1055
1023
|
"pluginName": "centy",
|
|
1056
1024
|
"pluginType": "core",
|
|
@@ -1060,10 +1028,49 @@
|
|
|
1060
1028
|
"relativePath": [
|
|
1061
1029
|
"dist",
|
|
1062
1030
|
"commands",
|
|
1063
|
-
"
|
|
1031
|
+
"get",
|
|
1064
1032
|
"pr.js"
|
|
1065
1033
|
]
|
|
1066
1034
|
},
|
|
1035
|
+
"get:project": {
|
|
1036
|
+
"aliases": [],
|
|
1037
|
+
"args": {
|
|
1038
|
+
"path": {
|
|
1039
|
+
"description": "Path to the project (defaults to current directory)",
|
|
1040
|
+
"name": "path",
|
|
1041
|
+
"required": false
|
|
1042
|
+
}
|
|
1043
|
+
},
|
|
1044
|
+
"description": "Get info about a specific project",
|
|
1045
|
+
"examples": [
|
|
1046
|
+
"<%= config.bin %> get project",
|
|
1047
|
+
"<%= config.bin %> get project /path/to/project",
|
|
1048
|
+
"<%= config.bin %> get project --json"
|
|
1049
|
+
],
|
|
1050
|
+
"flags": {
|
|
1051
|
+
"json": {
|
|
1052
|
+
"description": "Output as JSON",
|
|
1053
|
+
"name": "json",
|
|
1054
|
+
"allowNo": false,
|
|
1055
|
+
"type": "boolean"
|
|
1056
|
+
}
|
|
1057
|
+
},
|
|
1058
|
+
"hasDynamicHelp": false,
|
|
1059
|
+
"hiddenAliases": [],
|
|
1060
|
+
"id": "get:project",
|
|
1061
|
+
"pluginAlias": "centy",
|
|
1062
|
+
"pluginName": "centy",
|
|
1063
|
+
"pluginType": "core",
|
|
1064
|
+
"strict": true,
|
|
1065
|
+
"enableJsonFlag": false,
|
|
1066
|
+
"isESM": true,
|
|
1067
|
+
"relativePath": [
|
|
1068
|
+
"dist",
|
|
1069
|
+
"commands",
|
|
1070
|
+
"get",
|
|
1071
|
+
"project.js"
|
|
1072
|
+
]
|
|
1073
|
+
},
|
|
1067
1074
|
"install:daemon": {
|
|
1068
1075
|
"aliases": [],
|
|
1069
1076
|
"args": {},
|
|
@@ -1743,5 +1750,5 @@
|
|
|
1743
1750
|
]
|
|
1744
1751
|
}
|
|
1745
1752
|
},
|
|
1746
|
-
"version": "0.0.
|
|
1753
|
+
"version": "0.0.20"
|
|
1747
1754
|
}
|