push-csv-to-spreadsheet
Automatically generated README for this automation recipe: push-csv-to-spreadsheet
Category: DevOps automation
License: Apache 2.0
- 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 "push google-spreadsheet spreadsheet push-to-google-spreadsheet" --help
Run this script
Run this script via CLI
cm run script --tags=push,google-spreadsheet,spreadsheet,push-to-google-spreadsheet [--input_flags]
Run this script via CLI (alternative)
cmr "push google-spreadsheet spreadsheet push-to-google-spreadsheet " [--input_flags]
Run this script from Python
import cmind
r = cmind.access({'action':'run'
'automation':'script',
'tags':'push,google-spreadsheet,spreadsheet,push-to-google-spreadsheet'
'out':'con',
...
(other input keys for this script)
...
})
if r['return']>0:
print (r['error'])
Run this script via Docker (beta)
cm docker script "push google-spreadsheet spreadsheet push-to-google-spreadsheet" [--input_flags]
Script flags mapped to environment
--csv_file=value
→CM_CSV_FILE_PATH=value
--sheet_name=value
→CM_GOOGLE_SHEET_NAME=value
--spreadsheet_id=value
→CM_GOOGLE_SPREADSHEET_ID=value
Default environment
These keys can be updated via --env.KEY=VALUE
or env
dictionary in @input.json
or using script flags.
- CM_GOOGLE_SPREADSHEET_ID:
1gMHjXmFmwZR4-waPPyxy5Pc3VARqX3kKUWxkP97Xa6Y
Native script being run
No run file exists for Windows
Script output
cmr "push google-spreadsheet spreadsheet push-to-google-spreadsheet " [--input_flags] -j