Initial commit
This commit is contained in:
31
skills/cli-demo-generator/assets/examples/batch-config.yaml
Normal file
31
skills/cli-demo-generator/assets/examples/batch-config.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
# Example batch configuration for generating multiple demos
|
||||
# Usage: batch_generate.py batch-config.yaml --output-dir ./output
|
||||
|
||||
demos:
|
||||
- name: "Installation Demo"
|
||||
output: "install.gif"
|
||||
title: "Package Installation"
|
||||
theme: "Dracula"
|
||||
width: 1400
|
||||
height: 700
|
||||
commands:
|
||||
- "npm install my-package"
|
||||
- "npm run build"
|
||||
|
||||
- name: "Usage Demo"
|
||||
output: "usage.gif"
|
||||
title: "Basic Usage"
|
||||
theme: "Nord"
|
||||
commands:
|
||||
- "my-package --help"
|
||||
- "my-package init"
|
||||
- "my-package run"
|
||||
|
||||
- name: "Quick Start"
|
||||
output: "quickstart.gif"
|
||||
theme: "Tokyo Night"
|
||||
commands:
|
||||
- "git clone https://github.com/user/repo.git"
|
||||
- "cd repo"
|
||||
- "npm install"
|
||||
- "npm start"
|
||||
18
skills/cli-demo-generator/assets/templates/basic.tape
Normal file
18
skills/cli-demo-generator/assets/templates/basic.tape
Normal file
@@ -0,0 +1,18 @@
|
||||
Output demo.gif
|
||||
|
||||
Set FontSize 16
|
||||
Set Width 1400
|
||||
Set Height 700
|
||||
Set Theme "Dracula"
|
||||
Set Padding 20
|
||||
|
||||
Type "# Demo Title" Sleep 500ms Enter
|
||||
Sleep 1s
|
||||
|
||||
Type "command1" Sleep 500ms
|
||||
Enter
|
||||
Sleep 2s
|
||||
|
||||
Type "command2" Sleep 500ms
|
||||
Enter
|
||||
Sleep 2s
|
||||
21
skills/cli-demo-generator/assets/templates/interactive.tape
Normal file
21
skills/cli-demo-generator/assets/templates/interactive.tape
Normal file
@@ -0,0 +1,21 @@
|
||||
Output demo.gif
|
||||
|
||||
Set FontSize 16
|
||||
Set Width 1400
|
||||
Set Height 700
|
||||
Set Theme "Dracula"
|
||||
Set Padding 20
|
||||
Set TypingSpeed 100ms
|
||||
|
||||
Type "# Interactive Demo" Sleep 500ms Enter
|
||||
Sleep 1.5s
|
||||
|
||||
Type "# Type commands naturally..." Sleep 500ms Enter
|
||||
Sleep 1s
|
||||
|
||||
Type "echo 'Hello World'" Sleep 500ms
|
||||
Enter
|
||||
Sleep 2s
|
||||
|
||||
Type "# Typing simulation makes it feel real" Sleep 500ms Enter
|
||||
Sleep 2s
|
||||
Reference in New Issue
Block a user