extract-file
Automatically generated README for this automation recipe: extract-file
Category: DevOps automation
License: Apache 2.0
-
Notes from the authors, contributors and users: README-extra
-
CM meta description for this script: _cm.json
- Output cached? False
Reuse this script in your project
Install MLCommons CM automation meta-framework
Pull CM repository with this automation recipe (CM script)
cm pull repo mlcommons@cm4mlops
Print CM help from the command line
cmr "extract file" --help
Run this script
Run this script via CLI
cm run script --tags=extract,file[,variations] [--input_flags]
Run this script via CLI (alternative)
cmr "extract file [variations]" [--input_flags]
Run this script from Python
import cmind
r = cmind.access({'action':'run'
'automation':'script',
'tags':'extract,file'
'out':'con',
...
(other input keys for this script)
...
})
if r['return']>0:
print (r['error'])
Run this script via Docker (beta)
cm docker script "extract file[variations]" [--input_flags]
Variations
-
No group (any combination of variations can be selected)
Click here to expand this section.
_keep
- ENV variables:
- CM_EXTRACT_REMOVE_EXTRACTED:
no
- CM_EXTRACT_REMOVE_EXTRACTED:
- ENV variables:
_no-remove-extracted
- ENV variables:
- CM_EXTRACT_REMOVE_EXTRACTED:
no
- CM_EXTRACT_REMOVE_EXTRACTED:
- ENV variables:
_path.#
- ENV variables:
- CM_EXTRACT_FILEPATH:
#
- CM_EXTRACT_FILEPATH:
- ENV variables:
Script flags mapped to environment
--extra_folder=value
→CM_EXTRACT_TO_FOLDER=value
--extract_path=value
→CM_EXTRACT_PATH=value
--input=value
→CM_EXTRACT_FILEPATH=value
--to=value
→CM_EXTRACT_PATH=value
Native script being run
Script output
cmr "extract file [variations]" [--input_flags] -j