mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-16 10:50:38 +09:00
cli: add PAPERCLIP banner to onboard doctor configure
This commit is contained in:
parent
98964b7c01
commit
5c07bdafc5
4 changed files with 29 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ import {
|
|||
resolveDefaultLogsDir,
|
||||
resolvePaperclipInstanceId,
|
||||
} from "../config/home.js";
|
||||
import { printPaperclipCliBanner } from "../utils/banner.js";
|
||||
|
||||
type Section = "llm" | "database" | "logging" | "server" | "storage" | "secrets";
|
||||
|
||||
|
|
@ -63,6 +64,7 @@ export async function configure(opts: {
|
|||
config?: string;
|
||||
section?: string;
|
||||
}): Promise<void> {
|
||||
printPaperclipCliBanner();
|
||||
p.intro(pc.bgCyan(pc.black(" paperclip configure ")));
|
||||
const configPath = resolveConfigPath(opts.config);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue