perfsonar / mesh-config

Centralized configuration framework for measurement points and GUIs
Apache License 2.0
2 stars 0 forks source link

Interactive CLI for generating JSON schema #88

Open arlake228 opened 7 years ago

arlake228 commented 7 years ago

This is a task to implement an interactive command-line interface. Some ideas below (no requirement to use any of what's below):

psconfig
> new example.json
> archive Global Archiver
> set type esmond
> set param url https://10.0.0.10/esmond/perfsonar/archive
> done
> group devhosts 
> set type mesh
> set members 10.0.0.1 10.0.0.2 10.0.0.3
> done
> task Throughput Tests
> set group devhosts
> set type throughput
> set param duration PT30S
> publish
> exit