Skip to content

bluedskim/mlrBinder

Repository files navigation

Miller Java Binder

helps run mlr(Miller) with java.

Testing

  1. Jacoco code coverage

Examples

String runResult = new MlrBinder("mlr", workingPath)
	.workingPath(workingPath)
	.flag(csv())
	.verb(
		sort()
			.addArg(new Flag("-n").objective("a"))
			.addArg(new Flag("-nr").objective("b"))
	)
	.file("example.csv")
	.run()
;

String runResult = MlrBinder
	.csv()
	.sort(n("a"), nr("b"))
	.file(new File("example.csv"))
	.run()
;

TODO

v0.01

  1. logging
    1. info to debug
  2. change to gradle library project
  3. add E2E test

v0.02

  1. remove isConsecutive from the Verb
  2. add static prebuilt object
    1. Verbs
    2. Flags

v0.1

  1. execute mlr then connect output stream to isr

     public void run(InputStreamReader isr) {
    
     }
    

About

Helps run mlr(Miller) with java.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published