@@ -11,8 +11,8 @@ import {
1111 exportToCopilotString ,
1212 exportToOpenCodeString ,
1313 exportToCursorString ,
14- exportToGeminiString ,
15- exportToCodexString ,
14+ exportToGeminiString ,
15+ exportToCodexString ,
1616} from '../adapters/index.js' ;
1717import { exportToLyzrString } from '../adapters/lyzr.js' ;
1818import { exportToGitHubString } from '../adapters/github.js' ;
@@ -25,8 +25,7 @@ interface ExportOptions {
2525
2626export const exportCommand = new Command ( 'export' )
2727 . description ( 'Export agent to other formats' )
28- . requiredOption ( '-f, --format <format>' , 'Export format (system-prompt, claude-code, openai, crewai, openclaw, nanobot, lyzr, github, copilot, opencode, cursor, gemini)' )
29- . requiredOption ( '-f, --format <format>' , 'Export format (system-prompt, claude-code, openai, crewai, openclaw, nanobot, lyzr, github, copilot, opencode, cursor, codex)' )
28+ . requiredOption ( '-f, --format <format>' , 'Export format (system-prompt, claude-code, openai, crewai, openclaw, nanobot, lyzr, github, copilot, opencode, cursor, gemini, codex)' )
3029 . option ( '-d, --dir <dir>' , 'Agent directory' , '.' )
3130 . option ( '-o, --output <output>' , 'Output file path' )
3231 . action ( async ( options : ExportOptions ) => {
@@ -72,13 +71,13 @@ export const exportCommand = new Command('export')
7271 case 'cursor' :
7372 result = exportToCursorString ( dir ) ;
7473 break ;
75- case 'gemini' :
74+ case 'gemini' :
7675 result = exportToGeminiString ( dir ) ;
7776 break ;
7877 default :
7978 error ( `Unknown format: ${ options . format } ` ) ;
8079 info ( 'Supported formats: system-prompt, claude-code, openai, crewai, openclaw, nanobot, lyzr, github, copilot, opencode, cursor, gemini' ) ;
81- case 'codex' :
80+ case 'codex' :
8281 result = exportToCodexString ( dir ) ;
8382 info ( 'Supported formats: system-prompt, claude-code, openai, crewai, openclaw, nanobot, lyzr, github, copilot, opencode, cursor, codex' ) ;
8483 process . exit ( 1 ) ;
0 commit comments