print-any-text
Automatically generated README for this automation recipe: print-any-text
Category: Tests
License: Apache 2.0
Developers: Grigori Fursin
- CM meta description for this script: _cm.yaml
- 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 "print any-text" --help
Run this script
Run this script via CLI
cm run script --tags=print,any-text[,variations] [--input_flags]
Run this script via CLI (alternative)
cmr "print any-text [variations]" [--input_flags]
Run this script from Python
import cmind
r = cmind.access({'action':'run'
'automation':'script',
'tags':'print,any-text'
'out':'con',
...
(other input keys for this script)
...
})
if r['return']>0:
print (r['error'])
Run this script via Docker (beta)
cm docker script "print any-text[variations]" [--input_flags]
Variations
-
No group (any combination of variations can be selected)
Click here to expand this section.
_cm_env.#
- ENV variables:
- CM_PRINT_ANY_CM_ENV_KEYS:
#
- CM_PRINT_ANY_CM_ENV_KEYS:
- ENV variables:
_os_env.#
- ENV variables:
- CM_PRINT_ANY_OS_ENV_KEYS:
#
- CM_PRINT_ANY_OS_ENV_KEYS:
- ENV variables:
_text.#
- ENV variables:
- CM_PRINT_ANY_TEXT:
#
- CM_PRINT_ANY_TEXT:
- ENV variables:
Script flags mapped to environment
--cm_env_keys=value
→CM_PRINT_ANY_CM_ENV_KEYS=value
--os_env_keys=value
→CM_PRINT_ANY_OS_ENV_KEYS=value
--text=value
→CM_PRINT_ANY_TEXT=value
Default environment
These keys can be updated via --env.KEY=VALUE
or env
dictionary in @input.json
or using script flags.
- CM_PRINT_ANY_TEXT: ``
Native script being run
Script output
cmr "print any-text [variations]" [--input_flags] -j