1.0.7 • Published 4 years ago

@testrtc/scripts-import-export v1.0.7

Weekly downloads
132
License
ISC
Repository
-
Last release
4 years ago

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.

2) 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

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago