public static void main( String[] args )
{
Path homeDir = Paths.get( System.getenv( "NEO4J_HOME" ) );
Path configDir = Paths.get( System.getenv( "NEO4J_CONF" ) );
boolean debug = System.getenv( "NEO4J_DEBUG" ) != null;
<BUG>AdminTool tool = new AdminTool( CommandLocator.fromServiceLocator(), System.out::println, debug );
Result result = tool.execute( homeDir, configDir, args );
result.exit();</BUG>
}
private final String scriptName = "neo4j-admin";

public static void main( String[] args )
{
Path homeDir = Paths.get( System.getenv( "NEO4J_HOME" ) );
Path configDir = Paths.get( System.getenv( "NEO4J_CONF" ) );
boolean debug = System.getenv( "NEO4J_DEBUG" ) != null;
new AdminTool( CommandLocator.fromServiceLocator(), new RealOutsideWorld(), debug )
.execute( homeDir, configDir, args );
}
private final String scriptName = "neo4j-admin";
