function showUsage()

in middleware/cron/syncTransactionHistory.js [276:299]


function showUsage() {
    console.log(`
Transaction History Sync Tool

Usage:
  node syncTransactionHistory.js [command] [options]

Commands:
  start       Start the service with scheduled cron job (default)
  run-once    Run the sync once without scheduling a cron job
  status      Show the current sync status
  help        Show this help message

Options:
  --schedule=<cron>    Custom cron schedule (default: "0 * * * *")
                       Example: --schedule="*/30 * * * *" for every 30 minutes

Examples:
  node syncTransactionHistory.js start
  node syncTransactionHistory.js run-once
  node syncTransactionHistory.js start --schedule="0 */2 * * *"
  node syncTransactionHistory.js status
    `);
}