We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01c0fbd commit e5f0efdCopy full SHA for e5f0efd
bioimageio/core/cli.py
@@ -231,11 +231,14 @@ def _get_stat(
231
class UpdateFormatCmd(CmdBase, WithSource):
232
"""Update the metadata format"""
233
234
- path: Optional[Path] = Field(None, alias="output-path")
235
- """save updated RDF to this path"""
+ output: Optional[Path] = None
+ """Save updated bioimageio.yaml to this file.
236
+
237
+ (Always renders updated bioimageio.yaml to terminal.)
238
+ """
239
240
def run(self):
- updated = update_format(self.descr, output_path=self.path)
241
+ updated = update_format(self.descr, output_path=self.output)
242
updated_stream = StringIO()
243
write_yaml(updated, updated_stream)
244
updated_md = f"```yaml\n{updated_stream.getvalue()}\n```"
0 commit comments