@zapier/stubtree
Version:
CLI tool to generate ASCII tree of project structure with symbol stubs using universal-ctags
15 lines • 412 B
TypeScript
export interface Tag {
path: string;
name: string;
signature?: string;
kind: string;
}
export interface TreeNode {
name: string;
type: 'directory' | 'file';
children?: TreeNode[];
tags?: Tag[];
}
export declare function parseTagLine(line: string, rootPath: string): Tag | null;
export declare function buildTreeFromTags(tags: Tag[]): TreeNode;
//# sourceMappingURL=parser.d.ts.map