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
Copy file name to clipboardExpand all lines: Sources/Ether/Configuration.swift
+14-2Lines changed: 14 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,9 +32,13 @@ public class Configuration: Command {
32
32
CommandArgument.argument(name:"key", help:[
33
33
"The configuration JSON key to set",
34
34
"Valid keys are:",
35
-
"- access-token: The GitHub access token to use for interacting the the GraphQL API. You can create on at https://github.com/settings/token",
35
+
"- access-token: The GitHub access token to use for interacting the the GraphQL API. You can create one at https://github.com/settings/token",
36
36
"- install-commit: The commit message to use on package install. Use '&0' as package name placeholder",
37
-
"- remove-commit: The commit message to use on when a package is removed. Use '&0' as package name placeholder",
37
+
"- remove-commit: The commit message to use when a package is removed. Use '&0' as package name placeholder",
38
+
"- new-commit: The commit message to use when a new project is generated. Use '&0' as the project name placeholder",
39
+
"- update-commit: The commit message to use when a project's packages are updated",
40
+
"- version-latest-commit: The commit message to use when you update a project's dependencies to their latest versions",
41
+
"- version-set-commit: The commit message to use when you set a project's dependency to a specific version. Use '&0' as the package name and '&1' as the package's new version placeholders",
38
42
"- signed-commits: If set to a truthy value (true, yes, y, 1), auto-commits will pass in the '-S' flag"
39
43
]),
40
44
CommandArgument.argument(name:"value", help:["The new value for the key passed in. If no value is passed in, the key will be removed from the config"])
@@ -112,12 +116,20 @@ public struct Config: Codable, Reflectable {
0 commit comments