We have recently created a tool which allows to talk to Google App Engine via command line, like that:

> print KEY("Domain", "mycustomer.com")
{
  "domainAdmin" : "admin@mycustomer.com",
  "maxNbUsers" : 12,
  "trialExpires" : "2013-05-31 12:43:02",
  "status" : "ACTIVE"
}

This is an SQL-like command line application which allows to work with Google Datastore without writing code in Python/Java/Go/PHP.

The problem is that this tool does not save history of previous commands. You have to enter them manually every time.

I wonder if there is a wrapper which could remember history of commands which were passed to a child Java process? Or may be there is an even smarter way to add history file support for this application?

没有正确的解决方案

其他提示

The ReadLine part of jmxsh with its History support looks right for this job. It mentions jline dependencies, so your mileage may vary. http://java-readline.sourceforge.net/ and https://code.google.com/p/jmxsh/source/browse/trunk/src/jmxsh/Readline.java

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top