You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 20, 2025. It is now read-only.
.demand(/*count*/3,/*max*/3)// Require exactly three non-option arguments.
47
-
.example("access-key "+commandName+" \"VSTS Integration\"","Creates a new access key with the name \"VSTS Integration\" which expires by default in 60 days")
48
-
.example("access-key "+commandName+" \"One time key\" --ttl 5m","Creates a new access key with the name \"One time key\" which expires in 5 minutes")
49
-
.option("ttl",{default: null,demand: false,description: "A duration string specifying the time for which the access key remains valid for use",type: "string"});
47
+
.example("access-key "+commandName+" \"VSTS Integration\"","Creates a new access key with the name \"VSTS Integration\", which expires in 60 days")
48
+
.example("access-key "+commandName+" \"One time key\" --ttl 5m","Creates a new access key with the name \"One time key\", which expires in 5 minutes")
49
+
.option("ttl",{default: "60d",demand: false,description: "Duration string which specifies the amount of time that the access key should remain valid for (e.g 5m, 60d, 1y)",type: "string"});
.demand(/*count*/3,/*max*/3)// Require exactly three non-option arguments.
58
58
.example("access-key "+commandName+" \"Key for build server\" --name \"Key for CI machine\"","Renames the access key named \"Key for build server\" to \"Key for CI machine\"")
59
-
.example("access-key "+commandName+" \"Key for build server\" --ttl 7d","Edits the access key named \"Key for build server\" to expire in 7 days")
60
-
.option("name",{default: null,demand: false,description: "New name for the access key",type: "string"})
61
-
.option("ttl",{default: null,demand: false,description: "Duration string specifying the time for which the access key remains valid for use",type: "string"});
59
+
.example("access-key "+commandName+" \"Key for build server\" --ttl 7d","Updates the access key named \"Key for build server\" to expire in 7 days")
60
+
.option("name",{default: null,demand: false,description: "Display name for the access key",type: "string"})
61
+
.option("ttl",{default: null,demand: false,description: "Duration string which specifies the amount of time that the access key should remain valid for (e.g 5m, 60d, 1y)",type: "string"});
0 commit comments