dt-cli-tools

CLI tools for viewing, filtering, and comparing tabular data files
Log | Files | Refs | README | LICENSE

dtcat.tape (854B)


      1 # VHS tape for recording dtcat demo GIF.
      2 # Usage: vhs demo/dtcat.tape
      3 #
      4 # Prerequisites:
      5 #   - dtcat binary built and in PATH
      6 #   - Demo CSV files in demo/
      7 
      8 Output demo/dtcat.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 CSV FILE ───
     28 Type "dtcat demo/sales.csv"
     29 Enter
     30 Sleep 3s
     31 
     32 # ─── 2. SCHEMA ONLY ───
     33 Type "dtcat demo/sales.csv --schema"
     34 Enter
     35 Sleep 2s
     36 
     37 # ─── 3. SUMMARY STATISTICS ───
     38 Type "dtcat demo/sales.csv --describe"
     39 Enter
     40 Sleep 3s
     41 
     42 # ─── 4. HEAD AND TAIL ───
     43 Type "dtcat demo/sales.csv --head 3 --tail 2"
     44 Enter
     45 Sleep 2s
     46 
     47 # ─── 5. CSV OUTPUT ───
     48 Type "dtcat demo/sales.csv --csv --head 5"
     49 Enter
     50 Sleep 3s