xl-cli-tools

CLI tools for viewing and editing Excel files
Log | Files | Refs | README | LICENSE

xlcat.tape (1089B)


      1 # VHS tape for recording xlcat demo GIF.
      2 # Usage: vhs demo/xlcat.tape
      3 #
      4 # Prerequisites:
      5 #   - xlcat binary built and in PATH
      6 #   - Demo xlsx files created: cargo run --example create_demo
      7 
      8 Output demo/xlcat.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. VIEW A SPREADSHEET ───
     28 Type "xlcat demo/sales.xlsx"
     29 Enter
     30 Sleep 3s
     31 
     32 # ─── 2. SCHEMA ONLY ───
     33 Type "xlcat demo/sales.xlsx --schema"
     34 Enter
     35 Sleep 2s
     36 
     37 # ─── 3. SUMMARY STATISTICS ───
     38 Type "xlcat demo/sales.xlsx --describe"
     39 Enter
     40 Sleep 3s
     41 
     42 # ─── 4. MULTI-SHEET WORKBOOK ───
     43 Type "xlcat demo/budget.xlsx"
     44 Enter
     45 Sleep 3s
     46 
     47 # ─── 5. SELECT A SHEET ───
     48 Type "xlcat demo/budget.xlsx --sheet Revenue"
     49 Enter
     50 Sleep 2s
     51 
     52 # ─── 6. HEAD AND TAIL ───
     53 Type "xlcat demo/sales.xlsx --head 3 --tail 2"
     54 Enter
     55 Sleep 2s
     56 
     57 # ─── 7. CSV OUTPUT ───
     58 Type "xlcat demo/sales.xlsx --csv --head 5"
     59 Enter
     60 Sleep 3s