package za.co.taulite.tools.smppclient;
|
|
import org.jline.reader.LineReader;
|
import org.jline.terminal.Terminal;
|
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Lazy;
|
|
@Configuration
|
public class MShellConfig {
|
// @Value("${micro.server.url}")
|
// private String baseUrl;
|
|
@Bean
|
public InputReader inputReader(@Lazy LineReader lineReader) {
|
return new InputReader(lineReader);
|
}
|
|
@Bean
|
public ShellHelper shellHelper(@Lazy Terminal terminal) {
|
return new ShellHelper(terminal);
|
}
|
}
|