diff --git a/src/ibek/ioc_cmds/assets.py b/src/ibek/ioc_cmds/assets.py index 06dcd9a3d..4fd75189b 100644 --- a/src/ibek/ioc_cmds/assets.py +++ b/src/ibek/ioc_cmds/assets.py @@ -33,11 +33,7 @@ def move_file(src: Path, dest: Path, binary: List[str]): def extract_assets(destination: Path, source: Path, extras: List[Path], defaults: bool): """ - Find all the runtime assets in an EPICS installation and copy them to a - new folder hierarchy for packaging into a container runtime stage. - - This should be performed in a throw away container stage (runtime_prep) - as it is destructive of the source folder, because it uses move for speed. + extract and copy runtime assets """ asset_matches = "bin|configure|db|dbd|include|lib|template|config|*.sh" diff --git a/src/ibek/ioc_cmds/commands.py b/src/ibek/ioc_cmds/commands.py index d46240724..7ccfa4ce4 100644 --- a/src/ibek/ioc_cmds/commands.py +++ b/src/ibek/ioc_cmds/commands.py @@ -118,6 +118,13 @@ def extract_runtime_assets( extras: List[Path] = typer.Option(None, help="list of files to also extract"), defaults: bool = typer.Option(True, help="copy the default assets"), ): + """ + Find all the runtime assets in an EPICS installation and copy them to a + new folder hierarchy for packaging into a container runtime stage. + + This should be performed in a throw away container stage (runtime_prep) + as it is destructive of the source folder, because it uses move for speed. + """ extract_assets(destination, source, extras, defaults)