skysync-cli
Version:
SkySync Command Line Interface
131 lines (130 loc) • 3.15 kB
TypeScript
export declare const jobsSearchArgumentsDefault: {
offset: {
default: number;
desc: string;
type: string;
group: string;
};
limit: {
default: number;
desc: string;
type: string;
group: string;
};
search: {
alias: string;
desc: string;
type: string;
group: string;
};
kind: {
desc: string;
type: string;
group: string;
};
active: {
desc: string;
type: string;
group: string;
default: any;
};
parent: {
desc: string;
type: string;
group: string;
};
node: {
desc: string;
type: string;
group: string;
};
status: {
desc: string;
type: string;
group: string;
};
};
export declare const listOutputFormat: {
table: ({
header: string;
property: string;
transform?: undefined;
} | {
header: string;
property: string;
transform: (val: any) => boolean;
})[];
json: string[];
};
export declare const detailOutputFormat: {
table: ({
header: string;
property: string;
transform?: undefined;
} | {
header: string;
property: string;
transform: (val: any) => boolean;
})[];
json: string[];
};
export declare const historyOutputFormat: {
table: ({
header: string;
property: string;
transform?: undefined;
} | {
header: string;
property: string;
transform: (value: any, options?: import("../../sdk/formatting/formatDate").DateFormatOptions) => string;
})[];
json: string[];
};
export declare const auditOutputFormat: {
table: ({
header: string;
property: string;
transform?: undefined;
} | {
header: string;
property: string;
transform: (val: any) => string;
})[];
json: string[];
};
export declare function getSearchArgs(argv: any): any;
export declare function searchCriteriaIsMissing(argv: any): boolean;
export declare const statsOutputFormat: {
table: {
header: string;
property: string;
transform: (val: any) => string;
}[];
};
export declare function statTransform(statKey: string, format?: (number: number) => string): (val: any) => string;
declare function truncatePath(path: string): string;
export declare const itemOutputFormat: {
table: ({
header: string;
property: string;
transform?: undefined;
} | {
header: string;
property: string;
transform: typeof truncatePath;
})[];
json: string[];
};
export declare const securityMappingOutputFormat: {
table: ({
header: string;
property: string;
transform: (val: any) => any;
} | {
header: string;
property: string;
transform?: undefined;
})[];
json: string[];
};
export {};