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
motivation: support publishing to registry
changes:
* split SwiftPackageRegistryTool to multiple files as its growing large
* add "swift package-registry publish" command
* implement client side for registry requirments API
* add test
@@ -53,20 +59,36 @@ public struct GlobalOptions: ParsableArguments {
53
59
publicstructLocationOptions:ParsableArguments{
54
60
publicinit(){}
55
61
56
-
@Option(name:.customLong("package-path"), help:"Specify the package path to operate on (default current directory). This changes the working directory before any other operation", completion:.directory)
62
+
@Option(
63
+
name:.customLong("package-path"),
64
+
help:"Specify the package path to operate on (default current directory). This changes the working directory before any other operation",
65
+
completion:.directory
66
+
)
57
67
publicvarpackageDirectory:AbsolutePath?
58
68
59
69
@Option(name:.customLong("cache-path"), help:"Specify the shared cache directory path", completion:.directory)
60
70
publicvarcacheDirectory:AbsolutePath?
61
71
62
-
@Option(name:.customLong("config-path"), help:"Specify the shared configuration directory path", completion:.directory)
72
+
@Option(
73
+
name:.customLong("config-path"),
74
+
help:"Specify the shared configuration directory path",
75
+
completion:.directory
76
+
)
63
77
publicvarconfigurationDirectory:AbsolutePath?
64
78
65
-
@Option(name:.customLong("security-path"), help:"Specify the shared security directory path", completion:.directory)
79
+
@Option(
80
+
name:.customLong("security-path"),
81
+
help:"Specify the shared security directory path",
82
+
completion:.directory
83
+
)
66
84
publicvarsecurityDirectory:AbsolutePath?
67
85
68
86
/// The custom .build directory, if provided.
69
-
@Option(name:.customLong("scratch-path"), help:"Specify a custom scratch directory path (default .build)", completion:.directory)
87
+
@Option(
88
+
name:.customLong("scratch-path"),
89
+
help:"Specify a custom scratch directory path (default .build)",
/// Use Package.resolved file for resolving dependencies.
200
-
@Flag(name:[.long,.customLong("disable-automatic-resolution"),.customLong("only-use-versions-from-resolved-file")], help:"Only use versions from the Package.resolved file and fail resolution if it is out-of-date")
0 commit comments