giga-code
Version:
A personal AI CLI assistant powered by Grok for local development.
14 lines (13 loc) • 613 B
TypeScript
export interface CustomPrompt {
name: string;
content: string;
dateAdded: string;
}
export declare function loadPrompts(): CustomPrompt[];
export declare function savePrompts(prompts: CustomPrompt[]): void;
export declare function addPrompt(name: string, content: string): void;
export declare function deletePrompt(name: string): boolean;
export declare function getAllPrompts(): CustomPrompt[];
export declare function getPromptByName(name: string): CustomPrompt | undefined;
export declare function isPromptExists(name: string): boolean;
export declare function getPromptsAsSystemPrompt(): string;