mirror of
https://github.com/alkimake/paperclip.git
synced 2026-06-17 11:20:37 +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 {
|
|||
storageCheck,
|
||||
type CheckResult,
|
||||
} from "../checks/index.js";
|
||||
import { printPaperclipCliBanner } from "../utils/banner.js";
|
||||
|
||||
const STATUS_ICON = {
|
||||
pass: pc.green("✓"),
|
||||
|
|
@ -26,6 +27,7 @@ export async function doctor(opts: {
|
|||
repair?: boolean;
|
||||
yes?: boolean;
|
||||
}): Promise<{ passed: number; warned: number; failed: number }> {
|
||||
printPaperclipCliBanner();
|
||||
p.intro(pc.bgCyan(pc.black(" paperclip doctor ")));
|
||||
|
||||
const configPath = resolveConfigPath(opts.config);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue