doctor result can display copiable CLI commands
Reviewed By: lblasa, ivanmisuno Differential Revision: D50383150 fbshipit-source-id: 201f239cc7d69bd03011ec817156163f9f6ed653
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a0a9465c0b
commit
683fbfd6fb
@@ -64,9 +64,18 @@ export namespace FlipperDoctor {
|
||||
) => Promise<HealthcheckRunResult>;
|
||||
};
|
||||
|
||||
export type CliCommand = {
|
||||
title: string;
|
||||
command: string;
|
||||
};
|
||||
|
||||
export type HealthcheckRunResult = {
|
||||
hasProblem: boolean;
|
||||
message: string;
|
||||
/**
|
||||
* Commands to show to mitigate a problem or hint for more information
|
||||
*/
|
||||
commands?: CliCommand[];
|
||||
};
|
||||
|
||||
export type SubprocessHealtcheckRunResult =
|
||||
@@ -104,6 +113,7 @@ export namespace FlipperDoctor {
|
||||
status: HealthcheckStatus;
|
||||
isAcknowledged?: boolean;
|
||||
message?: string;
|
||||
commands?: CliCommand[];
|
||||
};
|
||||
|
||||
export type HealthcheckReportItem = {
|
||||
|
||||
Reference in New Issue
Block a user