source dump of claude code
at main 16 lines 476 B view raw
1import type { LocalCommandResult } from '../../types/command.js' 2import { openBrowser } from '../../utils/browser.js' 3 4export async function call(): Promise<LocalCommandResult> { 5 const url = 'https://www.stickermule.com/claudecode' 6 const success = await openBrowser(url) 7 8 if (success) { 9 return { type: 'text', value: 'Opening sticker page in browser…' } 10 } else { 11 return { 12 type: 'text', 13 value: `Failed to open browser. Visit: ${url}`, 14 } 15 } 16}