centy 0.0.14 → 0.0.15

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.
Files changed (44) hide show
  1. package/dist/commands/add/asset.d.ts.map +1 -1
  2. package/dist/commands/add/asset.js +0 -1
  3. package/dist/commands/add/asset.js.map +1 -1
  4. package/dist/commands/get/asset.d.ts.map +1 -1
  5. package/dist/commands/get/asset.js +0 -1
  6. package/dist/commands/get/asset.js.map +1 -1
  7. package/dist/commands/register/project.d.ts +3 -0
  8. package/dist/commands/register/project.d.ts.map +1 -1
  9. package/dist/commands/register/project.js +29 -3
  10. package/dist/commands/register/project.js.map +1 -1
  11. package/dist/tui/App.d.ts.map +1 -1
  12. package/dist/tui/App.js +49 -10
  13. package/dist/tui/App.js.map +1 -1
  14. package/dist/tui/components/domain/DocCreate.d.ts +2 -0
  15. package/dist/tui/components/domain/DocCreate.d.ts.map +1 -0
  16. package/dist/tui/components/domain/DocCreate.js +118 -0
  17. package/dist/tui/components/domain/DocCreate.js.map +1 -0
  18. package/dist/tui/components/domain/IssueCreate.d.ts +2 -0
  19. package/dist/tui/components/domain/IssueCreate.d.ts.map +1 -0
  20. package/dist/tui/components/domain/IssueCreate.js +167 -0
  21. package/dist/tui/components/domain/IssueCreate.js.map +1 -0
  22. package/dist/tui/components/domain/IssueDetail.d.ts.map +1 -1
  23. package/dist/tui/components/domain/IssueDetail.js +1 -1
  24. package/dist/tui/components/domain/IssueDetail.js.map +1 -1
  25. package/dist/tui/components/domain/IssueList.d.ts.map +1 -1
  26. package/dist/tui/components/domain/IssueList.js +29 -10
  27. package/dist/tui/components/domain/IssueList.js.map +1 -1
  28. package/dist/tui/components/domain/ProjectCreate.d.ts +2 -0
  29. package/dist/tui/components/domain/ProjectCreate.d.ts.map +1 -0
  30. package/dist/tui/components/domain/ProjectCreate.js +61 -0
  31. package/dist/tui/components/domain/ProjectCreate.js.map +1 -0
  32. package/dist/tui/components/domain/ProjectList.d.ts.map +1 -1
  33. package/dist/tui/components/domain/ProjectList.js +4 -1
  34. package/dist/tui/components/domain/ProjectList.js.map +1 -1
  35. package/dist/tui/services/daemon-service.d.ts +15 -1
  36. package/dist/tui/services/daemon-service.d.ts.map +1 -1
  37. package/dist/tui/services/daemon-service.js +76 -0
  38. package/dist/tui/services/daemon-service.js.map +1 -1
  39. package/dist/tui/types/views.d.ts +1 -1
  40. package/dist/tui/types/views.d.ts.map +1 -1
  41. package/dist/tui/types/views.js +1 -0
  42. package/dist/tui/types/views.js.map +1 -1
  43. package/oclif.manifest.json +183 -174
  44. package/package.json +1 -1
@@ -635,167 +635,38 @@
635
635
  "pr.js"
636
636
  ]
637
637
  },
638
- "delete:asset": {
638
+ "daemon:autostart": {
639
639
  "aliases": [],
640
- "args": {
641
- "filename": {
642
- "description": "Asset filename",
643
- "name": "filename",
644
- "required": true
645
- }
646
- },
647
- "description": "Delete an asset",
640
+ "args": {},
641
+ "description": "Configure daemon to start automatically on boot",
648
642
  "examples": [
649
- "<%= config.bin %> delete asset screenshot.png --issue 1",
650
- "<%= config.bin %> delete asset logo.svg --shared",
651
- "<%= config.bin %> delete asset old-image.png --issue 1 --force"
643
+ "<%= config.bin %> daemon autostart",
644
+ "<%= config.bin %> daemon autostart --enable",
645
+ "<%= config.bin %> daemon autostart --disable"
652
646
  ],
653
647
  "flags": {
654
- "issue": {
655
- "char": "i",
656
- "description": "Issue ID or display number",
657
- "name": "issue",
658
- "hasDynamicHelp": false,
659
- "multiple": false,
660
- "type": "option"
661
- },
662
- "shared": {
663
- "char": "s",
664
- "description": "Delete a shared asset",
665
- "name": "shared",
648
+ "enable": {
649
+ "description": "Enable autostart on boot",
650
+ "exclusive": [
651
+ "disable"
652
+ ],
653
+ "name": "enable",
666
654
  "allowNo": false,
667
655
  "type": "boolean"
668
656
  },
669
- "force": {
670
- "char": "f",
671
- "description": "Skip confirmation prompt",
672
- "name": "force",
673
- "allowNo": false,
674
- "type": "boolean"
675
- }
676
- },
677
- "hasDynamicHelp": false,
678
- "hiddenAliases": [],
679
- "id": "delete:asset",
680
- "pluginAlias": "centy",
681
- "pluginName": "centy",
682
- "pluginType": "core",
683
- "strict": true,
684
- "enableJsonFlag": false,
685
- "isESM": true,
686
- "relativePath": [
687
- "dist",
688
- "commands",
689
- "delete",
690
- "asset.js"
691
- ]
692
- },
693
- "delete:doc": {
694
- "aliases": [],
695
- "args": {
696
- "slug": {
697
- "description": "Doc slug",
698
- "name": "slug",
699
- "required": true
700
- }
701
- },
702
- "description": "Delete a documentation file",
703
- "examples": [
704
- "<%= config.bin %> delete doc getting-started",
705
- "<%= config.bin %> delete doc api-reference --force"
706
- ],
707
- "flags": {
708
- "force": {
709
- "char": "f",
710
- "description": "Skip confirmation prompt",
711
- "name": "force",
712
- "allowNo": false,
713
- "type": "boolean"
714
- }
715
- },
716
- "hasDynamicHelp": false,
717
- "hiddenAliases": [],
718
- "id": "delete:doc",
719
- "pluginAlias": "centy",
720
- "pluginName": "centy",
721
- "pluginType": "core",
722
- "strict": true,
723
- "enableJsonFlag": false,
724
- "isESM": true,
725
- "relativePath": [
726
- "dist",
727
- "commands",
728
- "delete",
729
- "doc.js"
730
- ]
731
- },
732
- "delete:issue": {
733
- "aliases": [],
734
- "args": {
735
- "id": {
736
- "description": "Issue ID (UUID) or display number",
737
- "name": "id",
738
- "required": true
739
- }
740
- },
741
- "description": "Delete an issue",
742
- "examples": [
743
- "<%= config.bin %> delete issue 1",
744
- "<%= config.bin %> delete issue abc123-uuid",
745
- "<%= config.bin %> delete issue 1 --force"
746
- ],
747
- "flags": {
748
- "force": {
749
- "char": "f",
750
- "description": "Skip confirmation prompt",
751
- "name": "force",
752
- "allowNo": false,
753
- "type": "boolean"
754
- }
755
- },
756
- "hasDynamicHelp": false,
757
- "hiddenAliases": [],
758
- "id": "delete:issue",
759
- "pluginAlias": "centy",
760
- "pluginName": "centy",
761
- "pluginType": "core",
762
- "strict": true,
763
- "enableJsonFlag": false,
764
- "isESM": true,
765
- "relativePath": [
766
- "dist",
767
- "commands",
768
- "delete",
769
- "issue.js"
770
- ]
771
- },
772
- "delete:pr": {
773
- "aliases": [],
774
- "args": {
775
- "id": {
776
- "description": "PR ID (UUID) or display number",
777
- "name": "id",
778
- "required": true
779
- }
780
- },
781
- "description": "Delete a pull request",
782
- "examples": [
783
- "<%= config.bin %> delete pr 1",
784
- "<%= config.bin %> delete pr abc123-uuid",
785
- "<%= config.bin %> delete pr 1 --force"
786
- ],
787
- "flags": {
788
- "force": {
789
- "char": "f",
790
- "description": "Skip confirmation prompt",
791
- "name": "force",
657
+ "disable": {
658
+ "description": "Disable autostart on boot",
659
+ "exclusive": [
660
+ "enable"
661
+ ],
662
+ "name": "disable",
792
663
  "allowNo": false,
793
664
  "type": "boolean"
794
665
  }
795
666
  },
796
667
  "hasDynamicHelp": false,
797
668
  "hiddenAliases": [],
798
- "id": "delete:pr",
669
+ "id": "daemon:autostart",
799
670
  "pluginAlias": "centy",
800
671
  "pluginName": "centy",
801
672
  "pluginType": "core",
@@ -805,8 +676,8 @@
805
676
  "relativePath": [
806
677
  "dist",
807
678
  "commands",
808
- "delete",
809
- "pr.js"
679
+ "daemon",
680
+ "autostart.js"
810
681
  ]
811
682
  },
812
683
  "get:asset": {
@@ -1019,38 +890,48 @@
1019
890
  "project.js"
1020
891
  ]
1021
892
  },
1022
- "daemon:autostart": {
893
+ "delete:asset": {
1023
894
  "aliases": [],
1024
- "args": {},
1025
- "description": "Configure daemon to start automatically on boot",
895
+ "args": {
896
+ "filename": {
897
+ "description": "Asset filename",
898
+ "name": "filename",
899
+ "required": true
900
+ }
901
+ },
902
+ "description": "Delete an asset",
1026
903
  "examples": [
1027
- "<%= config.bin %> daemon autostart",
1028
- "<%= config.bin %> daemon autostart --enable",
1029
- "<%= config.bin %> daemon autostart --disable"
904
+ "<%= config.bin %> delete asset screenshot.png --issue 1",
905
+ "<%= config.bin %> delete asset logo.svg --shared",
906
+ "<%= config.bin %> delete asset old-image.png --issue 1 --force"
1030
907
  ],
1031
908
  "flags": {
1032
- "enable": {
1033
- "description": "Enable autostart on boot",
1034
- "exclusive": [
1035
- "disable"
1036
- ],
1037
- "name": "enable",
909
+ "issue": {
910
+ "char": "i",
911
+ "description": "Issue ID or display number",
912
+ "name": "issue",
913
+ "hasDynamicHelp": false,
914
+ "multiple": false,
915
+ "type": "option"
916
+ },
917
+ "shared": {
918
+ "char": "s",
919
+ "description": "Delete a shared asset",
920
+ "name": "shared",
1038
921
  "allowNo": false,
1039
922
  "type": "boolean"
1040
923
  },
1041
- "disable": {
1042
- "description": "Disable autostart on boot",
1043
- "exclusive": [
1044
- "enable"
1045
- ],
1046
- "name": "disable",
924
+ "force": {
925
+ "char": "f",
926
+ "description": "Skip confirmation prompt",
927
+ "name": "force",
1047
928
  "allowNo": false,
1048
929
  "type": "boolean"
1049
930
  }
1050
931
  },
1051
932
  "hasDynamicHelp": false,
1052
933
  "hiddenAliases": [],
1053
- "id": "daemon:autostart",
934
+ "id": "delete:asset",
1054
935
  "pluginAlias": "centy",
1055
936
  "pluginName": "centy",
1056
937
  "pluginType": "core",
@@ -1060,8 +941,127 @@
1060
941
  "relativePath": [
1061
942
  "dist",
1062
943
  "commands",
1063
- "daemon",
1064
- "autostart.js"
944
+ "delete",
945
+ "asset.js"
946
+ ]
947
+ },
948
+ "delete:doc": {
949
+ "aliases": [],
950
+ "args": {
951
+ "slug": {
952
+ "description": "Doc slug",
953
+ "name": "slug",
954
+ "required": true
955
+ }
956
+ },
957
+ "description": "Delete a documentation file",
958
+ "examples": [
959
+ "<%= config.bin %> delete doc getting-started",
960
+ "<%= config.bin %> delete doc api-reference --force"
961
+ ],
962
+ "flags": {
963
+ "force": {
964
+ "char": "f",
965
+ "description": "Skip confirmation prompt",
966
+ "name": "force",
967
+ "allowNo": false,
968
+ "type": "boolean"
969
+ }
970
+ },
971
+ "hasDynamicHelp": false,
972
+ "hiddenAliases": [],
973
+ "id": "delete:doc",
974
+ "pluginAlias": "centy",
975
+ "pluginName": "centy",
976
+ "pluginType": "core",
977
+ "strict": true,
978
+ "enableJsonFlag": false,
979
+ "isESM": true,
980
+ "relativePath": [
981
+ "dist",
982
+ "commands",
983
+ "delete",
984
+ "doc.js"
985
+ ]
986
+ },
987
+ "delete:issue": {
988
+ "aliases": [],
989
+ "args": {
990
+ "id": {
991
+ "description": "Issue ID (UUID) or display number",
992
+ "name": "id",
993
+ "required": true
994
+ }
995
+ },
996
+ "description": "Delete an issue",
997
+ "examples": [
998
+ "<%= config.bin %> delete issue 1",
999
+ "<%= config.bin %> delete issue abc123-uuid",
1000
+ "<%= config.bin %> delete issue 1 --force"
1001
+ ],
1002
+ "flags": {
1003
+ "force": {
1004
+ "char": "f",
1005
+ "description": "Skip confirmation prompt",
1006
+ "name": "force",
1007
+ "allowNo": false,
1008
+ "type": "boolean"
1009
+ }
1010
+ },
1011
+ "hasDynamicHelp": false,
1012
+ "hiddenAliases": [],
1013
+ "id": "delete:issue",
1014
+ "pluginAlias": "centy",
1015
+ "pluginName": "centy",
1016
+ "pluginType": "core",
1017
+ "strict": true,
1018
+ "enableJsonFlag": false,
1019
+ "isESM": true,
1020
+ "relativePath": [
1021
+ "dist",
1022
+ "commands",
1023
+ "delete",
1024
+ "issue.js"
1025
+ ]
1026
+ },
1027
+ "delete:pr": {
1028
+ "aliases": [],
1029
+ "args": {
1030
+ "id": {
1031
+ "description": "PR ID (UUID) or display number",
1032
+ "name": "id",
1033
+ "required": true
1034
+ }
1035
+ },
1036
+ "description": "Delete a pull request",
1037
+ "examples": [
1038
+ "<%= config.bin %> delete pr 1",
1039
+ "<%= config.bin %> delete pr abc123-uuid",
1040
+ "<%= config.bin %> delete pr 1 --force"
1041
+ ],
1042
+ "flags": {
1043
+ "force": {
1044
+ "char": "f",
1045
+ "description": "Skip confirmation prompt",
1046
+ "name": "force",
1047
+ "allowNo": false,
1048
+ "type": "boolean"
1049
+ }
1050
+ },
1051
+ "hasDynamicHelp": false,
1052
+ "hiddenAliases": [],
1053
+ "id": "delete:pr",
1054
+ "pluginAlias": "centy",
1055
+ "pluginName": "centy",
1056
+ "pluginType": "core",
1057
+ "strict": true,
1058
+ "enableJsonFlag": false,
1059
+ "isESM": true,
1060
+ "relativePath": [
1061
+ "dist",
1062
+ "commands",
1063
+ "delete",
1064
+ "pr.js"
1065
1065
  ]
1066
1066
  },
1067
1067
  "install:daemon": {
@@ -1448,9 +1448,18 @@
1448
1448
  "description": "Register a project for tracking",
1449
1449
  "examples": [
1450
1450
  "<%= config.bin %> register project",
1451
- "<%= config.bin %> register project /path/to/project"
1451
+ "<%= config.bin %> register project /path/to/project",
1452
+ "<%= config.bin %> register project --no-init"
1452
1453
  ],
1453
- "flags": {},
1454
+ "flags": {
1455
+ "init": {
1456
+ "char": "i",
1457
+ "description": "Initialize .centy folder if not already initialized",
1458
+ "name": "init",
1459
+ "allowNo": true,
1460
+ "type": "boolean"
1461
+ }
1462
+ },
1454
1463
  "hasDynamicHelp": false,
1455
1464
  "hiddenAliases": [],
1456
1465
  "id": "register:project",
@@ -1734,5 +1743,5 @@
1734
1743
  ]
1735
1744
  }
1736
1745
  },
1737
- "version": "0.0.14"
1746
+ "version": "0.0.15"
1738
1747
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "centy",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "CLI for managing project issues and docs via code in the .centy folder",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",