package com.lanyuanxiaoyao.service.command.configuration;

import org.jline.utils.AttributedString;
import org.springframework.context.annotation.Configuration;
import org.springframework.shell.jline.PromptProvider;

/**
 * Spring Shell 配置
 *
 * @author ZhangJiacheng
 * @date 2022-04-27
 */
@Configuration
public class ShellConfiguration implements PromptProvider {
    @Override
    public AttributedString getPrompt() {
        return new AttributedString("odcp-utils:->");
    }
}
