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 }}
Repository navigation
Commit 7811041
Browse filesBrowse the repository at this point in the historyBrowse files
Use --input for fun/res and provider format (#23322)
There's no need to support separate formats for provider config and
resource/function config. Users are going to use the same format for
both, so simplify down to just one `--input` flag.
Copy file name to clipboardExpand all lines: pkg/cmd/pulumi/do/do_function_test.go
+9-10Lines changed: 9 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -129,14 +129,13 @@ Usage:
129
129
myOtherFunction [flags]
130
130
131
131
Flags:
132
-
--dry-run Run the operation in preview mode
133
-
-h, --help help for do
134
-
--input string Input file format (default "pcl")
135
-
--input-file string Path to a file containing function inputs
136
-
--package string The package to load, in the form 'name@version' or a path to a plugin binary or folder. If the package supports parameterization, additional space-separated parameters can be included after the package name, e.g. --package "name@version param1 \"multi word param\""
137
-
--provider-file string Path to a file containing provider configuration
138
-
--provider-format string Format of the provider configuration file (default "pcl")
139
-
--show-secrets Show secret values in output
132
+
--dry-run Run the operation in preview mode
133
+
-h, --help help for do
134
+
--input string Format of the configuration files (default "pcl")
135
+
--input-file string Path to a file containing function inputs
136
+
--package string The package to load, in the form 'name@version' or a path to a plugin binary or folder. If the package supports parameterization, additional space-separated parameters can be included after the package name, e.g. --package "name@version param1 \"multi word param\""
137
+
--provider-file string Path to a file containing provider configuration
Copy file name to clipboardExpand all lines: pkg/cmd/pulumi/do/do_resource_test.go
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -131,12 +131,12 @@ Available Commands:
131
131
read Read a resource
132
132
133
133
Flags:
134
-
--dry-run Run the operation in preview mode
135
-
-h, --help help for do
136
-
--package string The package to load, in the form 'name@version' or a path to a plugin binary or folder. If the package supports parameterization, additional space-separated parameters can be included after the package name, e.g. --package "name@version param1 \"multi word param\""
137
-
--provider-file string Path to a file containing provider configuration
138
-
--provider-format string Format of the provider configuration file (default "pcl")
139
-
--show-secrets Show secret values in output
134
+
--dry-run Run the operation in preview mode
135
+
-h, --help help for do
136
+
--input string Format of the provider configuration file (default "pcl")
137
+
--package string The package to load, in the form 'name@version' or a path to a plugin binary or folder. If the package supports parameterization, additional space-separated parameters can be included after the package name, e.g. --package "name@version param1 \"multi word param\""
138
+
--provider-file string Path to a file containing provider configuration
139
+
--show-secrets Show secret values in output
140
140
141
141
Use "myResource [command] --help" for more information about a command.
142
142
`
@@ -180,12 +180,12 @@ Available Commands:
180
180
read Read a resource
181
181
182
182
Flags:
183
-
--dry-run Run the operation in preview mode
184
-
-h, --help help for do
185
-
--package string The package to load, in the form 'name@version' or a path to a plugin binary or folder. If the package supports parameterization, additional space-separated parameters can be included after the package name, e.g. --package "name@version param1 \"multi word param\""
186
-
--provider-file string Path to a file containing provider configuration
187
-
--provider-format string Format of the provider configuration file (default "pcl")
188
-
--show-secrets Show secret values in output
183
+
--dry-run Run the operation in preview mode
184
+
-h, --help help for do
185
+
--input string Format of the provider configuration file (default "pcl")
186
+
--package string The package to load, in the form 'name@version' or a path to a plugin binary or folder. If the package supports parameterization, additional space-separated parameters can be included after the package name, e.g. --package "name@version param1 \"multi word param\""
187
+
--provider-file string Path to a file containing provider configuration
188
+
--show-secrets Show secret values in output
189
189
190
190
Use "myResource [command] --help" for more information about a command.
0 commit comments