Skip to content

zhangyuan/dataworks-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dataworks-cli

A tool to help data engineers and data architects to know about the stuffs locked in Dataworks more clearly and efficiently.

FYI: Dataworks is a service provided by Aliyun. This project is not associated with the Dataworks nor Aliyun.

Usage

Prepare the .env file

Add the following env variables to .env file:

ACCESS_KEY_ID=
ACCESS_KEY_SECRET=
DATAWORKS_PROJECT_ID=
DATAWORKS_ENDPOINT=dataworks.cn-beijing.aliyuncs.com # or other endpoint

Get the file list by file types

dataworks-cli files list -t 10,23  -o files/manifest.json

Download the files from the file list

dataworks-cli files list -t 10,23  -o files/manifest.json

Get the table list by data source

dataworks-cli files download -i files.json -o ./files

Get the DI sync tasks

dataworks-cli di list-sync-tasks -s data-source-name -o di-sync-tasks.json

Get the node list by project env

dataworks-cli nodes list -e PROD -o nodes.json

About

Hope to save data engineers from Aliyun Dataworks.

Resources

License

Stars

Watchers

Forks

Packages

No packages published