custom-menu-cli 2.0.0 → 2.0.1

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 (3) hide show
  1. package/README-pt.md +16 -2
  2. package/README.md +16 -2
  3. package/package.json +1 -1
package/README-pt.md CHANGED
@@ -94,8 +94,8 @@ O arquivo JSON que define o menu tem a seguinte estrutura:
94
94
 
95
95
  ```json
96
96
  {
97
- "name": "Deploy Menu",
98
- "description": "Menu de navegação para deploys",
97
+ "name": "custom-menu-cli",
98
+ "description": "JSON-based terminal menu",
99
99
  "options": [
100
100
  {
101
101
  "id": "1",
@@ -114,6 +114,13 @@ O arquivo JSON que define o menu tem a seguinte estrutura:
114
114
  "name": "Up Service",
115
115
  "type": "action",
116
116
  "command": "echo 'Up A'"
117
+ },
118
+ {
119
+ "id": "1.3",
120
+ "name": "Restart Project A (from inside)",
121
+ "type": "custom-action",
122
+ "idList": ["1.1", "1.2"],
123
+ "confirm": true
117
124
  }
118
125
  ]
119
126
  },
@@ -123,6 +130,13 @@ O arquivo JSON que define o menu tem a seguinte estrutura:
123
130
  "type": "custom-action",
124
131
  "idList": ["1.1", "1.2"],
125
132
  "confirm": true
133
+ },
134
+ {
135
+ "id": "3",
136
+ "name": "Restart Project A (Nested)",
137
+ "type": "custom-action",
138
+ "idList": ["1.3"],
139
+ "confirm": true
126
140
  }
127
141
  ]
128
142
  }
package/README.md CHANGED
@@ -95,8 +95,8 @@ The JSON file that defines the menu has the following structure:
95
95
 
96
96
  ```json
97
97
  {
98
- "name": "Deploy Menu",
99
- "description": "Menu de navegação para deploys",
98
+ "name": "custom-menu-cli",
99
+ "description": "JSON-based terminal menu",
100
100
  "options": [
101
101
  {
102
102
  "id": "1",
@@ -115,6 +115,13 @@ The JSON file that defines the menu has the following structure:
115
115
  "name": "Up Service",
116
116
  "type": "action",
117
117
  "command": "echo 'Up A'"
118
+ },
119
+ {
120
+ "id": "1.3",
121
+ "name": "Restart Project A (from inside)",
122
+ "type": "custom-action",
123
+ "idList": ["1.1", "1.2"],
124
+ "confirm": true
118
125
  }
119
126
  ]
120
127
  },
@@ -124,6 +131,13 @@ The JSON file that defines the menu has the following structure:
124
131
  "type": "custom-action",
125
132
  "idList": ["1.1", "1.2"],
126
133
  "confirm": true
134
+ },
135
+ {
136
+ "id": "3",
137
+ "name": "Restart Project A (Nested)",
138
+ "type": "custom-action",
139
+ "idList": ["1.3"],
140
+ "confirm": true
127
141
  }
128
142
  ]
129
143
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "custom-menu-cli",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Menu interativo baseado em JSON para execução de comandos no terminal",
5
5
  "main": "index.js",
6
6
  "bin": "index.js",