@@ -139,14 +139,14 @@ export const secretPutCommand = createCommand({
139139 metadata : {
140140 description : "Create or update a secret variable for a Worker" ,
141141 status : "stable" ,
142- // no idea who owns secrets
143142 owner : "Workers: Deploy and Config" ,
144143 } ,
145144 positionalArgs : [ "key" ] ,
146145 args : {
147146 key : {
148147 describe : "The variable name to be accessible in the Worker" ,
149148 type : "string" ,
149+ demandOption : true ,
150150 } ,
151151 name : {
152152 describe : "Name of the Worker" ,
@@ -252,14 +252,14 @@ export const secretDeleteCommand = createCommand({
252252 metadata : {
253253 description : "Delete a secret variable from a Worker" ,
254254 status : "stable" ,
255- // no idea who owns secrets
256255 owner : "Workers: Deploy and Config" ,
257256 } ,
258257 positionalArgs : [ "key" ] ,
259258 args : {
260259 key : {
261260 describe : "The variable name to be accessible in the Worker" ,
262261 type : "string" ,
262+ demandOption : true ,
263263 } ,
264264 name : {
265265 describe : "Name of the Worker" ,
@@ -322,7 +322,6 @@ export const secretListCommand = createCommand({
322322 metadata : {
323323 description : "List all secrets for a Worker" ,
324324 status : "stable" ,
325- // no idea who owns secrets
326325 owner : "Workers: Deploy and Config" ,
327326 } ,
328327 args : {
@@ -383,7 +382,6 @@ export const secretBulkCommand = createCommand({
383382 metadata : {
384383 description : "Bulk upload secrets for a Worker" ,
385384 status : "stable" ,
386- // no idea who owns secrets
387385 owner : "Workers: Deploy and Config" ,
388386 } ,
389387 positionalArgs : [ "json" ] ,
0 commit comments