Skip to content

A CLI tool designed to help models when they return data in a structured way. <result>{“field”: “value”, “field2”: “value2”,…}</result>

License

Notifications You must be signed in to change notification settings

jabrena/result-json-map-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Result to JSON map CLI

A CLI tool designed to help models when they return data in a structured way.

<result>{“field”: “value”, “field2”: “value2”,…}</result>

Hot to build?

./mvnw clean package

Usage from the build

java -jar target/result-json-map-0.1.0-SNAPSHOT.jar --help
java -jar target/result-json-map-0.1.0-SNAPSHOT.jar --build field=value field2=value2
java -jar target/result-json-map-0.1.0-SNAPSHOT.jar --build field:value field2:value2
java -jar target/result-json-map-0.1.0-SNAPSHOT.jar --build "field" 30 "field2" "John"
java -jar target/result-json-map-0.1.0-SNAPSHOT.jar --build name="John Doe" email="[email protected]"
java -jar target/result-json-map-0.1.0-SNAPSHOT.jar --build age=30 price=19.99 code="123"
java -jar target/result-json-map-0.1.0-SNAPSHOT.jar --build name=
java -jar target/result-json-map-0.1.0-SNAPSHOT.jar --build name
java -jar target/result-json-map-0.1.0-SNAPSHOT.jar --build

Usage from Jbang

sdk install jbang

jbang cache clear
jbang catalog list jabrena
jbang trust add https://github.com/jabrena/

jbang result-json-map.0.1.0-SNAPSHOT@jabrena --build name="John Doe" email="[email protected]"

About

A CLI tool designed to help models when they return data in a structured way. <result>{“field”: “value”, “field2”: “value2”,…}</result>

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •  

Languages