Skip to content

download-torrent

Automatically generated README for this automation recipe: download-torrent

Category: DevOps automation

License: Apache 2.0

  • CM meta description for this script: _cm.json
  • Output cached? True

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

cmr "download torrent download-torrent" --help

Run this script

Run this script via CLI
cm run script --tags=download,torrent,download-torrent[,variations] [--input_flags]
Run this script via CLI (alternative)
cmr "download torrent download-torrent [variations]" [--input_flags]
Run this script from Python
import cmind

r = cmind.access({'action':'run'
              'automation':'script',
              'tags':'download,torrent,download-torrent'
              'out':'con',
              ...
              (other input keys for this script)
              ...
             })

if r['return']>0:
    print (r['error'])
Run this script via Docker (beta)
cm docker script "download torrent download-torrent[variations]" [--input_flags]

Variations

  • No group (any combination of variations can be selected)

    Click here to expand this section.

    • _torrent.#
      • ENV variables:
        • CM_TORRENT_FILE: #

Script flags mapped to environment

  • --wait=valueCM_TORRENT_WAIT_UNTIL_COMPLETED=value

Default environment

These keys can be updated via --env.KEY=VALUE or env dictionary in @input.json or using script flags.

  • CM_TORRENT_WAIT_UNTIL_COMPLETED: no

Native script being run

No run file exists for Windows


Script output

cmr "download torrent download-torrent [variations]" [--input_flags] -j