xldiff.tape (904B)
1 # VHS tape for recording xldiff demo GIF. 2 # Usage: vhs demo/xldiff.tape 3 # 4 # Prerequisites: 5 # - xldiff binary built and in PATH 6 # - Demo xlsx files created: cargo run --example create_demo 7 8 Output demo/xldiff.gif 9 10 Set FontSize 14 11 Set Width 1100 12 Set Height 550 13 Set Padding 15 14 Set Theme "GruvboxDarkHard" 15 16 Set TypingSpeed 80ms 17 18 Set Shell "bash" 19 20 Hide 21 Type 'export PS1="> "' 22 Enter 23 Type "clear" 24 Enter 25 Show 26 27 # ─── 1. SHOW THE INPUT FILES ─── 28 Type "xlcat demo/old.xlsx" 29 Enter 30 Sleep 3s 31 32 Type "xlcat demo/new.xlsx" 33 Enter 34 Sleep 3s 35 36 # ─── 2. KEY-BASED DIFF ─── 37 Type "xldiff demo/old.xlsx demo/new.xlsx --key ID" 38 Enter 39 Sleep 4s 40 41 # ─── 3. MARKDOWN OUTPUT ─── 42 Type "xldiff demo/old.xlsx demo/new.xlsx --key ID --format markdown" 43 Enter 44 Sleep 4s 45 46 # ─── 4. JSON OUTPUT ─── 47 Type "xldiff demo/old.xlsx demo/new.xlsx --key ID --format json" 48 Enter 49 Sleep 4s