@testrtc/scripts-import-export
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

Scripts Import/Export with testRTC

Installation

Make sure you have Node Package Manager installed. ( https://www.npmjs.com/get-npm )

npm install --global @testrtc/scripts-import-export

Run

scripts-import-export scripts:pull --apikey=xxxx-xxxx-xxxx-xxxx --dir=testRTC

Pull tests and assets to local files

scripts-import-export scripts:pull

Push tests and assets to testRTC

scripts-import-export scripts:push

CLI Arguments

  1. API Key from testRTC project.

--apikey=<api_key>

If not provided, you'll be prompt for API key.

  1. Directory for saving scripts and assets.
    Also using for pushing back to testRTC.

--dir=<dir_name>

If not provided, ./data folder will be used.

Folder structure after pulling scripts

scripts-import-export scripts:pull
  • data/
    • tests/
      • metadata/
        • list of tests parsed to JSON...
      • list of test scripts...
    • assets/
      • metadata/
        • list of assets parsed to JSON...
      • list of assets code...

Possible issues

OS Linux scripts-import-export: command not found

Windows "scripts-import-export" is not an internal or external command, executable program, or batch file.

npm bin -g

Make sure result presented in PATH environment variables.

Guide for Windows users

Package Sidebar

Install

npm i @testrtc/scripts-import-export

Weekly Downloads

1

Version

1.0.7

License

ISC

Unpacked Size

1.33 MB

Total Files

10

Last publish

Collaborators

  • dindrodiya
  • yuriipostevka
  • mulyoved
  • muly