All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.vertexium.cli.commands.GetTimeCommand Maven / Gradle / Ivy

There is a newer version: 4.10.0
Show newest version
package org.vertexium.cli.commands;

import org.codehaus.groovy.tools.shell.CommandSupport;
import org.codehaus.groovy.tools.shell.Groovysh;
import org.vertexium.cli.VertexiumScript;

import java.util.List;

public class GetTimeCommand extends CommandSupport {
    public GetTimeCommand(Groovysh shell) {
        super(shell, ":gettime", ":gt");
    }

    @Override
    public Object execute(List args) {
        return VertexiumScript.getTimeString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy