saagie-cli

1.2.0 • Public • Published

saagie-cli

CLI tool for Saagie Open DataFabric

Install

npm i -g saagie-cli

Run

$ saagie
Welcome to Saagie CLI
> 

Commands

  • datafabric (alias: d)
> datafabric list
datafabric_demo (https://demo_saagie.example.com)
datafabric_test (https://test_saagie.example.com)

> datafabric add <name> <url>

# For data fabric v2: use a url such as https://host/data-fabric

> datafabric remove <name>

> datafabric connect <name>
Datafabric username? bob_le_bricoleur
Datafabric password? ****************************

Available platforms on datafabric_demo
4 - Dev
6 - Test
7 - Prod

datafabric_demo > 
  • platform (alias: p)
datafabric_demo > platform list

Available platforms on datafabric_demo
4 - Dev
6 - Test
7 - Prod

datafabric_demo > platform connect 4
datafabric_demo | Dev > 
  • job (alias: j)
datafabric_demo | Dev > job list

Available jobs on Dev
13891 - test bidule - SUCCESS
13898 - test bizarre - NEVER_RUN
13906 - Demo_plugin - SUCCESS
13918 - Job qui tue - FAILED

datafabric_demo | Dev > job list | grep SUCCESS
13891 - test bidule - SUCCESS
13906 - Demo_plugin - SUCCESS

datafabric_demo | Dev > job info <id>

datafabric_demo | Dev > job run <id>

datafabric_demo | Dev > job stop <id>
  • operation (alias: o)
datafabric_demo > operation stats

stats

TODO

  • Job list: new parameters (status ? type ?)
  • Group jobs by type
  • Sort job list by name, by any other field
  • Create/upgrade/delete a job
  • Logs of a job

Readme

Keywords

none

Package Sidebar

Install

npm i saagie-cli

Weekly Downloads

0

Version

1.2.0

License

MIT

Unpacked Size

817 kB

Total Files

5

Last publish

Collaborators

  • bbonnin