devvami 1.1.1 → 1.1.2

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.
@@ -703,14 +703,19 @@
703
703
  "search.js"
704
704
  ]
705
705
  },
706
- "pr:create": {
706
+ "pipeline:logs": {
707
707
  "aliases": [],
708
- "args": {},
709
- "description": "Apri Pull Request precompilata con template, label e reviewer",
708
+ "args": {
709
+ "run-id": {
710
+ "description": "ID del workflow run",
711
+ "name": "run-id",
712
+ "required": true
713
+ }
714
+ },
715
+ "description": "Log di un workflow run specifico",
710
716
  "examples": [
711
- "<%= config.bin %> pr create",
712
- "<%= config.bin %> pr create --draft",
713
- "<%= config.bin %> pr create --title \"My PR\" --dry-run"
717
+ "<%= config.bin %> pipeline logs 12345",
718
+ "<%= config.bin %> pipeline logs 12345 --job test"
714
719
  ],
715
720
  "flags": {
716
721
  "json": {
@@ -720,29 +725,17 @@
720
725
  "allowNo": false,
721
726
  "type": "boolean"
722
727
  },
723
- "title": {
724
- "description": "Titolo PR (default: auto-generated)",
725
- "name": "title",
728
+ "job": {
729
+ "description": "Filtra per job name",
730
+ "name": "job",
726
731
  "hasDynamicHelp": false,
727
732
  "multiple": false,
728
733
  "type": "option"
729
- },
730
- "draft": {
731
- "description": "Crea come draft",
732
- "name": "draft",
733
- "allowNo": false,
734
- "type": "boolean"
735
- },
736
- "dry-run": {
737
- "description": "Preview senza eseguire",
738
- "name": "dry-run",
739
- "allowNo": false,
740
- "type": "boolean"
741
734
  }
742
735
  },
743
736
  "hasDynamicHelp": false,
744
737
  "hiddenAliases": [],
745
- "id": "pr:create",
738
+ "id": "pipeline:logs",
746
739
  "pluginAlias": "devvami",
747
740
  "pluginName": "devvami",
748
741
  "pluginType": "core",
@@ -752,24 +745,18 @@
752
745
  "relativePath": [
753
746
  "src",
754
747
  "commands",
755
- "pr",
756
- "create.js"
748
+ "pipeline",
749
+ "logs.js"
757
750
  ]
758
751
  },
759
- "pr:detail": {
752
+ "pipeline:rerun": {
760
753
  "aliases": [],
761
- "args": {
762
- "number": {
763
- "description": "Numero della PR",
764
- "name": "number",
765
- "required": true
766
- }
767
- },
768
- "description": "Dettaglio PR con commenti QA e checklist degli step",
754
+ "args": {},
755
+ "description": "Rilancia l'ultimo workflow fallito",
769
756
  "examples": [
770
- "<%= config.bin %> pr detail 42",
771
- "<%= config.bin %> pr detail 42 --repo devvami/my-api",
772
- "<%= config.bin %> pr detail 42 --json"
757
+ "<%= config.bin %> pipeline rerun",
758
+ "<%= config.bin %> pipeline rerun --failed-only",
759
+ "<%= config.bin %> pipeline rerun --run-id 12345"
773
760
  ],
774
761
  "flags": {
775
762
  "json": {
@@ -779,17 +766,23 @@
779
766
  "allowNo": false,
780
767
  "type": "boolean"
781
768
  },
782
- "repo": {
783
- "description": "Repository nel formato owner/repo (default: rilevato da git remote)",
784
- "name": "repo",
769
+ "run-id": {
770
+ "description": "ID specifico del run",
771
+ "name": "run-id",
785
772
  "hasDynamicHelp": false,
786
773
  "multiple": false,
787
774
  "type": "option"
775
+ },
776
+ "failed-only": {
777
+ "description": "Rilancia solo i job falliti",
778
+ "name": "failed-only",
779
+ "allowNo": false,
780
+ "type": "boolean"
788
781
  }
789
782
  },
790
783
  "hasDynamicHelp": false,
791
784
  "hiddenAliases": [],
792
- "id": "pr:detail",
785
+ "id": "pipeline:rerun",
793
786
  "pluginAlias": "devvami",
794
787
  "pluginName": "devvami",
795
788
  "pluginType": "core",
@@ -799,17 +792,18 @@
799
792
  "relativePath": [
800
793
  "src",
801
794
  "commands",
802
- "pr",
803
- "detail.js"
795
+ "pipeline",
796
+ "rerun.js"
804
797
  ]
805
798
  },
806
- "pr:review": {
799
+ "pipeline:status": {
807
800
  "aliases": [],
808
801
  "args": {},
809
- "description": "Lista PR assegnate a te per la code review",
802
+ "description": "Stato GitHub Actions per il repo corrente",
810
803
  "examples": [
811
- "<%= config.bin %> pr review",
812
- "<%= config.bin %> pr review --json"
804
+ "<%= config.bin %> pipeline status",
805
+ "<%= config.bin %> pipeline status --branch main",
806
+ "<%= config.bin %> pipeline status --limit 20 --json"
813
807
  ],
814
808
  "flags": {
815
809
  "json": {
@@ -818,11 +812,26 @@
818
812
  "name": "json",
819
813
  "allowNo": false,
820
814
  "type": "boolean"
815
+ },
816
+ "branch": {
817
+ "description": "Filtra per branch",
818
+ "name": "branch",
819
+ "hasDynamicHelp": false,
820
+ "multiple": false,
821
+ "type": "option"
822
+ },
823
+ "limit": {
824
+ "description": "Numero di run da mostrare",
825
+ "name": "limit",
826
+ "default": 10,
827
+ "hasDynamicHelp": false,
828
+ "multiple": false,
829
+ "type": "option"
821
830
  }
822
831
  },
823
832
  "hasDynamicHelp": false,
824
833
  "hiddenAliases": [],
825
- "id": "pr:review",
834
+ "id": "pipeline:status",
826
835
  "pluginAlias": "devvami",
827
836
  "pluginName": "devvami",
828
837
  "pluginType": "core",
@@ -832,18 +841,18 @@
832
841
  "relativePath": [
833
842
  "src",
834
843
  "commands",
835
- "pr",
836
- "review.js"
844
+ "pipeline",
845
+ "status.js"
837
846
  ]
838
847
  },
839
- "pr:status": {
848
+ "pr:create": {
840
849
  "aliases": [],
841
850
  "args": {},
842
- "description": "Stato delle tue PR aperte (come autore e come reviewer)",
851
+ "description": "Apri Pull Request precompilata con template, label e reviewer",
843
852
  "examples": [
844
- "<%= config.bin %> pr status",
845
- "<%= config.bin %> pr status --author",
846
- "<%= config.bin %> pr status --json"
853
+ "<%= config.bin %> pr create",
854
+ "<%= config.bin %> pr create --draft",
855
+ "<%= config.bin %> pr create --title \"My PR\" --dry-run"
847
856
  ],
848
857
  "flags": {
849
858
  "json": {
@@ -853,22 +862,29 @@
853
862
  "allowNo": false,
854
863
  "type": "boolean"
855
864
  },
856
- "author": {
857
- "description": "Solo PR dove sei autore",
858
- "name": "author",
865
+ "title": {
866
+ "description": "Titolo PR (default: auto-generated)",
867
+ "name": "title",
868
+ "hasDynamicHelp": false,
869
+ "multiple": false,
870
+ "type": "option"
871
+ },
872
+ "draft": {
873
+ "description": "Crea come draft",
874
+ "name": "draft",
859
875
  "allowNo": false,
860
876
  "type": "boolean"
861
877
  },
862
- "reviewer": {
863
- "description": "Solo PR dove sei reviewer",
864
- "name": "reviewer",
878
+ "dry-run": {
879
+ "description": "Preview senza eseguire",
880
+ "name": "dry-run",
865
881
  "allowNo": false,
866
882
  "type": "boolean"
867
883
  }
868
884
  },
869
885
  "hasDynamicHelp": false,
870
886
  "hiddenAliases": [],
871
- "id": "pr:status",
887
+ "id": "pr:create",
872
888
  "pluginAlias": "devvami",
873
889
  "pluginName": "devvami",
874
890
  "pluginType": "core",
@@ -879,22 +895,23 @@
879
895
  "src",
880
896
  "commands",
881
897
  "pr",
882
- "status.js"
898
+ "create.js"
883
899
  ]
884
900
  },
885
- "pipeline:logs": {
901
+ "pr:detail": {
886
902
  "aliases": [],
887
903
  "args": {
888
- "run-id": {
889
- "description": "ID del workflow run",
890
- "name": "run-id",
904
+ "number": {
905
+ "description": "Numero della PR",
906
+ "name": "number",
891
907
  "required": true
892
908
  }
893
909
  },
894
- "description": "Log di un workflow run specifico",
910
+ "description": "Dettaglio PR con commenti QA e checklist degli step",
895
911
  "examples": [
896
- "<%= config.bin %> pipeline logs 12345",
897
- "<%= config.bin %> pipeline logs 12345 --job test"
912
+ "<%= config.bin %> pr detail 42",
913
+ "<%= config.bin %> pr detail 42 --repo devvami/my-api",
914
+ "<%= config.bin %> pr detail 42 --json"
898
915
  ],
899
916
  "flags": {
900
917
  "json": {
@@ -904,9 +921,9 @@
904
921
  "allowNo": false,
905
922
  "type": "boolean"
906
923
  },
907
- "job": {
908
- "description": "Filtra per job name",
909
- "name": "job",
924
+ "repo": {
925
+ "description": "Repository nel formato owner/repo (default: rilevato da git remote)",
926
+ "name": "repo",
910
927
  "hasDynamicHelp": false,
911
928
  "multiple": false,
912
929
  "type": "option"
@@ -914,7 +931,7 @@
914
931
  },
915
932
  "hasDynamicHelp": false,
916
933
  "hiddenAliases": [],
917
- "id": "pipeline:logs",
934
+ "id": "pr:detail",
918
935
  "pluginAlias": "devvami",
919
936
  "pluginName": "devvami",
920
937
  "pluginType": "core",
@@ -924,18 +941,17 @@
924
941
  "relativePath": [
925
942
  "src",
926
943
  "commands",
927
- "pipeline",
928
- "logs.js"
944
+ "pr",
945
+ "detail.js"
929
946
  ]
930
947
  },
931
- "pipeline:rerun": {
948
+ "pr:review": {
932
949
  "aliases": [],
933
950
  "args": {},
934
- "description": "Rilancia l'ultimo workflow fallito",
951
+ "description": "Lista PR assegnate a te per la code review",
935
952
  "examples": [
936
- "<%= config.bin %> pipeline rerun",
937
- "<%= config.bin %> pipeline rerun --failed-only",
938
- "<%= config.bin %> pipeline rerun --run-id 12345"
953
+ "<%= config.bin %> pr review",
954
+ "<%= config.bin %> pr review --json"
939
955
  ],
940
956
  "flags": {
941
957
  "json": {
@@ -944,24 +960,11 @@
944
960
  "name": "json",
945
961
  "allowNo": false,
946
962
  "type": "boolean"
947
- },
948
- "run-id": {
949
- "description": "ID specifico del run",
950
- "name": "run-id",
951
- "hasDynamicHelp": false,
952
- "multiple": false,
953
- "type": "option"
954
- },
955
- "failed-only": {
956
- "description": "Rilancia solo i job falliti",
957
- "name": "failed-only",
958
- "allowNo": false,
959
- "type": "boolean"
960
963
  }
961
964
  },
962
965
  "hasDynamicHelp": false,
963
966
  "hiddenAliases": [],
964
- "id": "pipeline:rerun",
967
+ "id": "pr:review",
965
968
  "pluginAlias": "devvami",
966
969
  "pluginName": "devvami",
967
970
  "pluginType": "core",
@@ -971,18 +974,18 @@
971
974
  "relativePath": [
972
975
  "src",
973
976
  "commands",
974
- "pipeline",
975
- "rerun.js"
977
+ "pr",
978
+ "review.js"
976
979
  ]
977
980
  },
978
- "pipeline:status": {
981
+ "pr:status": {
979
982
  "aliases": [],
980
983
  "args": {},
981
- "description": "Stato GitHub Actions per il repo corrente",
984
+ "description": "Stato delle tue PR aperte (come autore e come reviewer)",
982
985
  "examples": [
983
- "<%= config.bin %> pipeline status",
984
- "<%= config.bin %> pipeline status --branch main",
985
- "<%= config.bin %> pipeline status --limit 20 --json"
986
+ "<%= config.bin %> pr status",
987
+ "<%= config.bin %> pr status --author",
988
+ "<%= config.bin %> pr status --json"
986
989
  ],
987
990
  "flags": {
988
991
  "json": {
@@ -992,25 +995,22 @@
992
995
  "allowNo": false,
993
996
  "type": "boolean"
994
997
  },
995
- "branch": {
996
- "description": "Filtra per branch",
997
- "name": "branch",
998
- "hasDynamicHelp": false,
999
- "multiple": false,
1000
- "type": "option"
998
+ "author": {
999
+ "description": "Solo PR dove sei autore",
1000
+ "name": "author",
1001
+ "allowNo": false,
1002
+ "type": "boolean"
1001
1003
  },
1002
- "limit": {
1003
- "description": "Numero di run da mostrare",
1004
- "name": "limit",
1005
- "default": 10,
1006
- "hasDynamicHelp": false,
1007
- "multiple": false,
1008
- "type": "option"
1004
+ "reviewer": {
1005
+ "description": "Solo PR dove sei reviewer",
1006
+ "name": "reviewer",
1007
+ "allowNo": false,
1008
+ "type": "boolean"
1009
1009
  }
1010
1010
  },
1011
1011
  "hasDynamicHelp": false,
1012
1012
  "hiddenAliases": [],
1013
- "id": "pipeline:status",
1013
+ "id": "pr:status",
1014
1014
  "pluginAlias": "devvami",
1015
1015
  "pluginName": "devvami",
1016
1016
  "pluginType": "core",
@@ -1020,7 +1020,7 @@
1020
1020
  "relativePath": [
1021
1021
  "src",
1022
1022
  "commands",
1023
- "pipeline",
1023
+ "pr",
1024
1024
  "status.js"
1025
1025
  ]
1026
1026
  },
@@ -1498,5 +1498,5 @@
1498
1498
  ]
1499
1499
  }
1500
1500
  },
1501
- "version": "1.1.1"
1501
+ "version": "1.1.2"
1502
1502
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "devvami",
3
3
  "description": "DevEx CLI for developers and teams — manage repos, PRs, pipelines, tasks, and costs from the terminal",
4
- "version": "1.1.1",
4
+ "version": "1.1.2",
5
5
  "author": "",
6
6
  "type": "module",
7
7
  "bin": {
@@ -80,6 +80,8 @@ export default class Init extends Command {
80
80
  let config = await loadConfig()
81
81
 
82
82
  if (!configExists() && !isDryRun && !isJson) {
83
+ // Stop the spinner before interactive prompts to avoid TTY contention on macOS
84
+ configSpinner?.stop()
83
85
  const useOrg = await confirm({ message: 'Do you use a GitHub organization? (y/n)', default: true })
84
86
  let org = ''
85
87
  if (useOrg) {