| 22 | import { writeDeepnoteFile } from './write-deepnote-file' |
| 23 | |
| 24 | interface ConvertOptions { |
| 25 | cwd?: string |
| 26 | inputPath: string |
| 27 | outputPath?: string |
| 28 | projectName?: string |
| 29 | /** Output format when converting from .deepnote (default: 'jupyter') */ |
| 30 | outputFormat?: 'jupyter' | 'percent' | 'quarto' | 'marimo' |
| 31 | /** When true, outputs are included in the main file (disables snapshot mode) */ |
| 32 | singleFile?: boolean |
| 33 | } |
| 34 | |
| 35 | export async function convert(options: ConvertOptions): Promise<string> { |
| 36 | const { |
nothing calls this directly
no outgoing calls
no test coverage detected