|
|
@ -17,6 +17,7 @@
|
|
|
|
package org.springframework.boot.cli.command;
|
|
|
|
package org.springframework.boot.cli.command;
|
|
|
|
|
|
|
|
|
|
|
|
import org.springframework.boot.cli.Command;
|
|
|
|
import org.springframework.boot.cli.Command;
|
|
|
|
|
|
|
|
import org.springframework.boot.cli.Log;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* {@link Command} to display the 'version' number.
|
|
|
|
* {@link Command} to display the 'version' number.
|
|
|
@ -31,8 +32,7 @@ public class VersionCommand extends AbstractCommand {
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void run(String... args) {
|
|
|
|
public void run(String... args) {
|
|
|
|
// FIXME: add version introspection
|
|
|
|
Log.info("Spring CLI v" + getClass().getPackage().getImplementationVersion());
|
|
|
|
throw new IllegalStateException("Not implemented");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|