vhs
Your CLI home video recorder.
Installation
dagger install github.com/sagikazarmark/daggerverse/vhs@v0.3.0
Entrypoint
Return Type
Vhs !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
version | String | - | Version (image tag) to use from the official image repository as a base container. |
container | Container | - | Custom container to use as a base container. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
func (m *myModule) example() *Vhs {
return dag.
Vhs()
}
@function
def example() -> dag.Vhs:
return (
dag.vhs()
)
@func()
example(): Vhs {
return dag
.vhs()
}
Types
Vhs 🔗
container() 🔗
Return Type
Container !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
container
func (m *myModule) example() *Container {
return dag.
Vhs().
Container()
}
@function
def example() -> dagger.Container:
return (
dag.vhs()
.container()
)
@func()
example(): Container {
return dag
.vhs()
.container()
}
newTape() 🔗
Create a new tape file with example tape file contents and documentation.
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
name | String | "cassette.tape" | Name of the tape file to create. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
new-tape
func (m *myModule) example() *File {
return dag.
Vhs().
NewTape()
}
@function
def example() -> dagger.File:
return (
dag.vhs()
.new_tape()
)
@func()
example(): File {
return dag
.vhs()
.newTape()
}
render() 🔗
Runs a given tape file and generates its outputs.
If you have source commands in your tape file, use withSource instead.
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
tape | File ! | - | Tape file to render. |
publish | Boolean | false | Publish your GIF to vhs.charm.sh and get a shareable URL. |
Example
no available example in current language
func (m *Examples) VhsRender(ctx context.Context) error {
vhs := dag.Vhs()
// Create a new tape (or load an existing one)
tape := vhs.NewTape()
out, err := vhs.Render(tape).Sync(ctx)
if err != nil {
return err
}
// The output is a directory containing the rendered files.
_ = out
return nil
}
no available example in current language
no available example in current language
withSource() 🔗
Mount a source directory. Useful when you have source commands in your tape files.
Return Type
WithSource !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | Source directory to mount. |
Example
no available example in current language
func (m *Examples) VhsWithSource(ctx context.Context) error {
vhs := dag.Vhs()
// Create some tapes
config := vhs.Tape().
SetBlock().
FontSize(16).
FontFamily("Iosevka").
EndSet()
tape := vhs.Tape().
Source("config.tape").
Type("echo Hello world").
Enter()
tapes := dag.Directory().
WithFile("config.tape", config.File()).
WithFile("cassette.tape", tape.File())
_, err := vhs.WithSource(tapes).Render("cassette.tape").Sync(ctx)
if err != nil {
return err
}
return nil
}
no available example in current language
no available example in current language
tape() 🔗
Create a new tape manually.
Return Type
Tape !
Example
no available example in current language
func (m *Examples) VhsTape(ctx context.Context) error {
vhs := dag.Vhs()
// Create a new tape
tape := vhs.Tape().
Comment("Hello world").
EmptyLine().
// Set some outputs
Output("out.gif").
Output("out.webm").
EmptyLine().
// Set some settings
Set().FontSize(14).
Set().FontFamily("Monoflow").
EmptyLine().
// Use setBlock for more than one settings for brevity
SetBlock().
FontSize(16).
FontFamily("Iosevka").
EndSet().
EmptyLine().
// Do something
Type("echo Hello world").
Enter().
Sleep("1s")
// Get the tape file
_, err := tape.File().Sync(ctx)
if err != nil {
return err
}
// Get the outputs
_, err = tape.Render().Sync(ctx)
if err != nil {
return err
}
return nil
}
no available example in current language
no available example in current language
WithSource 🔗
source() 🔗
Return Type
Directory !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
with-source --source DIR_PATH \
source
func (m *myModule) example(source *Directory) *Directory {
return dag.
Vhs().
WithSource(source).
Source()
}
@function
def example(source: dagger.Directory) -> dagger.Directory:
return (
dag.vhs()
.with_source(source)
.source()
)
@func()
example(source: Directory): Directory {
return dag
.vhs()
.withSource(source)
.source()
}
render() 🔗
Runs a given tape file and generates its outputs.
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
tape | String ! | - | Tape file to render. Must be relative to the source directory. |
publish | Boolean | false | Publish your GIF to vhs.charm.sh and get a shareable URL. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
with-source --source DIR_PATH \
render --tape string
func (m *myModule) example(source *Directory, tape string) *Directory {
return dag.
Vhs().
WithSource(source).
Render(tape)
}
@function
def example(source: dagger.Directory, tape: str) -> dagger.Directory:
return (
dag.vhs()
.with_source(source)
.render(tape)
)
@func()
example(source: Directory, tape: string): Directory {
return dag
.vhs()
.withSource(source)
.render(tape)
}
Tape 🔗
set() 🔗
The Set command allows you to change global aspects of the terminal, such as the font settings, window dimensions, and GIF output location.
Setting must be administered at the top of the tape file. Any setting (except TypingSpeed) applied after a non-setting or non-output command will be ignored.
Return Type
TapeSetting !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set
func (m *myModule) example() *VhsTapeSetting {
return dag.
Vhs().
Tape().
Set()
}
@function
def example() -> dag.VhsTapeSetting:
return (
dag.vhs()
.tape()
.set()
)
@func()
example(): VhsTapeSetting {
return dag
.vhs()
.tape()
.set()
}
setBlock() 🔗
The SetBlock command allows you to change global aspects of the terminal, such as the font settings, window dimensions, and GIF output location.
Setting must be administered at the top of the tape file. Any setting (except TypingSpeed) applied after a non-setting or non-output command will be ignored.
Return Type
TapeSettingBlock !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block
func (m *myModule) example() *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock()
}
@function
def example() -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
)
@func()
example(): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
}
file() 🔗
Get the final tape file.
Return Type
File !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
name | String | "cassette.tape" | Name of the tape file to create. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
file
func (m *myModule) example() *File {
return dag.
Vhs().
Tape().
File()
}
@function
def example() -> dagger.File:
return (
dag.vhs()
.tape()
.file()
)
@func()
example(): File {
return dag
.vhs()
.tape()
.file()
}
render() 🔗
Runs the tape file and generates its outputs.
Do not use source commands in your tape file.
Return Type
Directory !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
publish | Boolean | false | Publish your GIF to vhs.charm.sh and get a shareable URL. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
render
func (m *myModule) example() *Directory {
return dag.
Vhs().
Tape().
Render()
}
@function
def example() -> dagger.Directory:
return (
dag.vhs()
.tape()
.render()
)
@func()
example(): Directory {
return dag
.vhs()
.tape()
.render()
}
comment() 🔗
Append a single or multiline comment to the tape.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
comment | String ! | - | No description provided |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
comment --comment string
func (m *myModule) example(comment string) *VhsTape {
return dag.
Vhs().
Tape().
Comment(comment)
}
@function
def example(comment: str) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.comment(comment)
)
@func()
example(comment: string): VhsTape {
return dag
.vhs()
.tape()
.comment(comment)
}
emptyLine() 🔗
Append a single empty line to the tape. Useful for separating commands.
Return Type
Tape !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
empty-line
func (m *myModule) example() *VhsTape {
return dag.
Vhs().
Tape().
EmptyLine()
}
@function
def example() -> dag.VhsTape:
return (
dag.vhs()
.tape()
.empty_line()
)
@func()
example(): VhsTape {
return dag
.vhs()
.tape()
.emptyLine()
}
output() 🔗
The Output command allows you to specify the location and file format of the render. You can specify more than one output in a tape file which will render them to the respective locations.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
path | String ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
output --path string
func (m *myModule) example(path string) *VhsTape {
return dag.
Vhs().
Tape().
Output(path)
}
@function
def example(path: str) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.output(path)
)
@func()
example(path: string): VhsTape {
return dag
.vhs()
.tape()
.output(path)
}
require() 🔗
The Require command allows you to specify dependencies for your tape file. These are useful to fail early if a required program is missing from the $PATH, and it is certain that the VHS execution will not work as expected.
Require commands must be defined at the top of a tape file, before any non- setting or non-output command.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
program | String ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
require --program string
func (m *myModule) example(program string) *VhsTape {
return dag.
Vhs().
Tape().
Require(program)
}
@function
def example(program: str) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.require(program)
)
@func()
example(program: string): VhsTape {
return dag
.vhs()
.tape()
.require(program)
}
type() 🔗
Use Type to emulate key presses. That is, you can use Type to script typing in a terminal. Type is handy for both entering commands and interacting with prompts and TUIs in the terminal. The command takes a string argument of the characters to type.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
characters | String ! | - | No description provided |
time | String | - | Override the standard typing speed. |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
type --characters string
func (m *myModule) example(characters string) *VhsTape {
return dag.
Vhs().
Tape().
Type(characters)
}
@function
def example(characters: str) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.type(characters)
)
@func()
example(characters: string): VhsTape {
return dag
.vhs()
.tape()
.type(characters)
}
wait() 🔗
The Wait command allows you to wait for something to appear on the screen. This is useful when you need to wait on something to complete, even if you don’t know how long it’ll take, while including it in the recording like a spinner or loading state. The command takes a regular expression as an argument, and optionally allows to set the duration to wait and if you want to check the whole screen or just the last line (the scope).
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
regexp | String | - | Regular expression to wait for. |
scope | Enum | - | Scope to wait for the regular expression to appear (whole screen or just the last line). |
timeout | String | - | Duration to wait for the regular expression to appear. |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
wait
func (m *myModule) example() *VhsTape {
return dag.
Vhs().
Tape().
Wait()
}
@function
def example() -> dag.VhsTape:
return (
dag.vhs()
.tape()
.wait()
)
@func()
example(): VhsTape {
return dag
.vhs()
.tape()
.wait()
}
sleep() 🔗
The Sleep command allows you to continue capturing frames without interacting with the terminal. This is useful when you need to wait on something to complete while including it in the recording like a spinner or loading state. The command takes a number argument in seconds.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
seconds | String ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
sleep --seconds string
func (m *myModule) example(seconds string) *VhsTape {
return dag.
Vhs().
Tape().
Sleep(seconds)
}
@function
def example(seconds: str) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.sleep(seconds)
)
@func()
example(seconds: string): VhsTape {
return dag
.vhs()
.tape()
.sleep(seconds)
}
hide() 🔗
The Hide command instructs VHS to stop capturing frames. It’s useful to pause a recording to perform hidden commands.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
hide
func (m *myModule) example() *VhsTape {
return dag.
Vhs().
Tape().
Hide()
}
@function
def example() -> dag.VhsTape:
return (
dag.vhs()
.tape()
.hide()
)
@func()
example(): VhsTape {
return dag
.vhs()
.tape()
.hide()
}
show() 🔗
The Show command instructs VHS to begin capturing frames, again. It’s useful after a Hide command to resume frame recording for the output.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
show
func (m *myModule) example() *VhsTape {
return dag.
Vhs().
Tape().
Show()
}
@function
def example() -> dag.VhsTape:
return (
dag.vhs()
.tape()
.show()
)
@func()
example(): VhsTape {
return dag
.vhs()
.tape()
.show()
}
screenshot() 🔗
The Screenshot command captures the current frame (png format).
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
path | String ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
screenshot --path string
func (m *myModule) example(path string) *VhsTape {
return dag.
Vhs().
Tape().
Screenshot(path)
}
@function
def example(path: str) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.screenshot(path)
)
@func()
example(path: string): VhsTape {
return dag
.vhs()
.tape()
.screenshot(path)
}
copy() 🔗
The Copy command copies a value to the clipboard.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
value | String ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
copy --value string
func (m *myModule) example(value string) *VhsTape {
return dag.
Vhs().
Tape().
Copy(value)
}
@function
def example(value: str) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.copy(value)
)
@func()
example(value: string): VhsTape {
return dag
.vhs()
.tape()
.copy(value)
}
paste() 🔗
The Paste command pastes the value from clipboard.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
paste
func (m *myModule) example() *VhsTape {
return dag.
Vhs().
Tape().
Paste()
}
@function
def example() -> dag.VhsTape:
return (
dag.vhs()
.tape()
.paste()
)
@func()
example(): VhsTape {
return dag
.vhs()
.tape()
.paste()
}
env() 🔗
The Env command sets the environment variable via key-value pair.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
key | String ! | - | No description provided |
value | String ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
env --key string --value string
func (m *myModule) example(key string, value string) *VhsTape {
return dag.
Vhs().
Tape().
Env(key, value)
}
@function
def example(key: str, value: str) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.env(key, value)
)
@func()
example(key: string, value: string): VhsTape {
return dag
.vhs()
.tape()
.env(key, value)
}
source() 🔗
The Source command allows you to execute commands from another tape.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
tape | String ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
source --tape string
func (m *myModule) example(tape string) *VhsTape {
return dag.
Vhs().
Tape().
Source(tape)
}
@function
def example(tape: str) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.source(tape)
)
@func()
example(tape: string): VhsTape {
return dag
.vhs()
.tape()
.source(tape)
}
backspace() 🔗
Press the backspace key.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
time | String | - | Override the standard typing speed. |
count | Integer | - | Repeat the key press. |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
backspace
func (m *myModule) example() *VhsTape {
return dag.
Vhs().
Tape().
Backspace()
}
@function
def example() -> dag.VhsTape:
return (
dag.vhs()
.tape()
.backspace()
)
@func()
example(): VhsTape {
return dag
.vhs()
.tape()
.backspace()
}
ctrl() 🔗
Access the control modifier and send control sequences.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
char | String ! | - | No description provided |
alt | Boolean | false | Press the "alt" key. |
shift | Boolean | false | Press the "shift" key. |
time | String | - | Override the standard typing speed. |
count | Integer | - | Repeat the key press. |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
ctrl --char string
func (m *myModule) example(char string) *VhsTape {
return dag.
Vhs().
Tape().
Ctrl(char)
}
@function
def example(char: str) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.ctrl(char)
)
@func()
example(char: string): VhsTape {
return dag
.vhs()
.tape()
.ctrl(char)
}
enter() 🔗
Press the enter key.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
time | String | - | Override the standard typing speed. |
count | Integer | - | Repeat the key press. |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
enter
func (m *myModule) example() *VhsTape {
return dag.
Vhs().
Tape().
Enter()
}
@function
def example() -> dag.VhsTape:
return (
dag.vhs()
.tape()
.enter()
)
@func()
example(): VhsTape {
return dag
.vhs()
.tape()
.enter()
}
up() 🔗
Press the up arrow key.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
time | String | - | Override the standard typing speed. |
count | Integer | - | Repeat the key press. |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
up
func (m *myModule) example() *VhsTape {
return dag.
Vhs().
Tape().
Up()
}
@function
def example() -> dag.VhsTape:
return (
dag.vhs()
.tape()
.up()
)
@func()
example(): VhsTape {
return dag
.vhs()
.tape()
.up()
}
down() 🔗
Press the down arrow key.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
time | String | - | Override the standard typing speed. |
count | Integer | - | Repeat the key press. |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
down
func (m *myModule) example() *VhsTape {
return dag.
Vhs().
Tape().
Down()
}
@function
def example() -> dag.VhsTape:
return (
dag.vhs()
.tape()
.down()
)
@func()
example(): VhsTape {
return dag
.vhs()
.tape()
.down()
}
left() 🔗
Press the left arrow key.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
time | String | - | Override the standard typing speed. |
count | Integer | - | Repeat the key press. |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
left
func (m *myModule) example() *VhsTape {
return dag.
Vhs().
Tape().
Left()
}
@function
def example() -> dag.VhsTape:
return (
dag.vhs()
.tape()
.left()
)
@func()
example(): VhsTape {
return dag
.vhs()
.tape()
.left()
}
right() 🔗
Press the right arrow key.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
time | String | - | Override the standard typing speed. |
count | Integer | - | Repeat the key press. |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
right
func (m *myModule) example() *VhsTape {
return dag.
Vhs().
Tape().
Right()
}
@function
def example() -> dag.VhsTape:
return (
dag.vhs()
.tape()
.right()
)
@func()
example(): VhsTape {
return dag
.vhs()
.tape()
.right()
}
tab() 🔗
Press the tab key.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
time | String | - | Override the standard typing speed. |
count | Integer | - | Repeat the key press. |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
tab
func (m *myModule) example() *VhsTape {
return dag.
Vhs().
Tape().
Tab()
}
@function
def example() -> dag.VhsTape:
return (
dag.vhs()
.tape()
.tab()
)
@func()
example(): VhsTape {
return dag
.vhs()
.tape()
.tab()
}
space() 🔗
Press the space key.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
time | String | - | Override the standard typing speed. |
count | Integer | - | Repeat the key press. |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
space
func (m *myModule) example() *VhsTape {
return dag.
Vhs().
Tape().
Space()
}
@function
def example() -> dag.VhsTape:
return (
dag.vhs()
.tape()
.space()
)
@func()
example(): VhsTape {
return dag
.vhs()
.tape()
.space()
}
pageUp() 🔗
Press the page up key.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
time | String | - | Override the standard typing speed. |
count | Integer | - | Repeat the key press. |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
page-up
func (m *myModule) example() *VhsTape {
return dag.
Vhs().
Tape().
PageUp()
}
@function
def example() -> dag.VhsTape:
return (
dag.vhs()
.tape()
.page_up()
)
@func()
example(): VhsTape {
return dag
.vhs()
.tape()
.pageUp()
}
pageDown() 🔗
Press the page down key.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
time | String | - | Override the standard typing speed. |
count | Integer | - | Repeat the key press. |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
page-down
func (m *myModule) example() *VhsTape {
return dag.
Vhs().
Tape().
PageDown()
}
@function
def example() -> dag.VhsTape:
return (
dag.vhs()
.tape()
.page_down()
)
@func()
example(): VhsTape {
return dag
.vhs()
.tape()
.pageDown()
}
TapeSetting 🔗
shell() 🔗
Set the shell.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
shell | String ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set \
shell --shell string
func (m *myModule) example(shell string) *VhsTape {
return dag.
Vhs().
Tape().
Set().
Shell(shell)
}
@function
def example(shell: str) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.set()
.shell(shell)
)
@func()
example(shell: string): VhsTape {
return dag
.vhs()
.tape()
.set()
.shell(shell)
}
fontSize() 🔗
Set the font size.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
size | Integer ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set \
font-size --size integer
func (m *myModule) example(size int) *VhsTape {
return dag.
Vhs().
Tape().
Set().
FontSize(size)
}
@function
def example(size: int) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.set()
.font_size(size)
)
@func()
example(size: number): VhsTape {
return dag
.vhs()
.tape()
.set()
.fontSize(size)
}
fontFamily() 🔗
Set the font family.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
font | String ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set \
font-family --font string
func (m *myModule) example(font string) *VhsTape {
return dag.
Vhs().
Tape().
Set().
FontFamily(font)
}
@function
def example(font: str) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.set()
.font_family(font)
)
@func()
example(font: string): VhsTape {
return dag
.vhs()
.tape()
.set()
.fontFamily(font)
}
width() 🔗
Set the width of the terminal.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
width | Integer ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set \
width --width integer
func (m *myModule) example(width int) *VhsTape {
return dag.
Vhs().
Tape().
Set().
Width(width)
}
@function
def example(width: int) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.set()
.width(width)
)
@func()
example(width: number): VhsTape {
return dag
.vhs()
.tape()
.set()
.width(width)
}
height() 🔗
Set the height of the terminal.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
height | Integer ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set \
height --height integer
func (m *myModule) example(height int) *VhsTape {
return dag.
Vhs().
Tape().
Set().
Height(height)
}
@function
def example(height: int) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.set()
.height(height)
)
@func()
example(height: number): VhsTape {
return dag
.vhs()
.tape()
.set()
.height(height)
}
letterSpacing() 🔗
Set the spacing between letters (tracking).
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
spacing | Integer ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set \
letter-spacing --spacing integer
func (m *myModule) example(spacing int) *VhsTape {
return dag.
Vhs().
Tape().
Set().
LetterSpacing(spacing)
}
@function
def example(spacing: int) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.set()
.letter_spacing(spacing)
)
@func()
example(spacing: number): VhsTape {
return dag
.vhs()
.tape()
.set()
.letterSpacing(spacing)
}
lineHeight() 🔗
Set the spacing between lines.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
spacing | Float ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set \
line-height
func (m *myModule) example(spacing ) *VhsTape {
return dag.
Vhs().
Tape().
Set().
LineHeight(spacing)
}
@function
def example(spacing: ) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.set()
.line_height(spacing)
)
@func()
example(spacing: ): VhsTape {
return dag
.vhs()
.tape()
.set()
.lineHeight(spacing)
}
typingSpeed() 🔗
Set the typing speed of seconds per key press.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
speed | String ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set \
typing-speed --speed string
func (m *myModule) example(speed string) *VhsTape {
return dag.
Vhs().
Tape().
Set().
TypingSpeed(speed)
}
@function
def example(speed: str) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.set()
.typing_speed(speed)
)
@func()
example(speed: string): VhsTape {
return dag
.vhs()
.tape()
.set()
.typingSpeed(speed)
}
theme() 🔗
Set the theme of the terminal.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
theme | String ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set \
theme --theme string
func (m *myModule) example(theme string) *VhsTape {
return dag.
Vhs().
Tape().
Set().
Theme(theme)
}
@function
def example(theme: str) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.set()
.theme(theme)
)
@func()
example(theme: string): VhsTape {
return dag
.vhs()
.tape()
.set()
.theme(theme)
}
padding() 🔗
Set the padding (in pixels) of the terminal frame.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
pixels | Integer ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set \
padding --pixels integer
func (m *myModule) example(pixels int) *VhsTape {
return dag.
Vhs().
Tape().
Set().
Padding(pixels)
}
@function
def example(pixels: int) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.set()
.padding(pixels)
)
@func()
example(pixels: number): VhsTape {
return dag
.vhs()
.tape()
.set()
.padding(pixels)
}
margin() 🔗
Set the margin (in pixels) of the video.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
pixels | Integer ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set \
margin --pixels integer
func (m *myModule) example(pixels int) *VhsTape {
return dag.
Vhs().
Tape().
Set().
Margin(pixels)
}
@function
def example(pixels: int) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.set()
.margin(pixels)
)
@func()
example(pixels: number): VhsTape {
return dag
.vhs()
.tape()
.set()
.margin(pixels)
}
marginFill() 🔗
Set the margin fill color of the video.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
color | String ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set \
margin-fill --color string
func (m *myModule) example(color string) *VhsTape {
return dag.
Vhs().
Tape().
Set().
MarginFill(color)
}
@function
def example(color: str) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.set()
.margin_fill(color)
)
@func()
example(color: string): VhsTape {
return dag
.vhs()
.tape()
.set()
.marginFill(color)
}
windowBar() 🔗
Set the type of window bar.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
windowBar | Enum ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set \
window-bar
func (m *myModule) example(windowBar ) *VhsTape {
return dag.
Vhs().
Tape().
Set().
WindowBar(windowBar)
}
@function
def example(window_bar: ) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.set()
.window_bar(window_bar)
)
@func()
example(windowBar: ): VhsTape {
return dag
.vhs()
.tape()
.set()
.windowBar(windowBar)
}
borderRadius() 🔗
Set the border radius (in pixels) of the terminal window.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
pixels | Integer ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set \
border-radius --pixels integer
func (m *myModule) example(pixels int) *VhsTape {
return dag.
Vhs().
Tape().
Set().
BorderRadius(pixels)
}
@function
def example(pixels: int) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.set()
.border_radius(pixels)
)
@func()
example(pixels: number): VhsTape {
return dag
.vhs()
.tape()
.set()
.borderRadius(pixels)
}
framerate() 🔗
Set the rate at which VHS captures frames.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
rate | Integer ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set \
framerate --rate integer
func (m *myModule) example(rate int) *VhsTape {
return dag.
Vhs().
Tape().
Set().
Framerate(rate)
}
@function
def example(rate: int) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.set()
.framerate(rate)
)
@func()
example(rate: number): VhsTape {
return dag
.vhs()
.tape()
.set()
.framerate(rate)
}
playbackSpeed() 🔗
Set the playback speed of the final render.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
speed | Float ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set \
playback-speed
func (m *myModule) example(speed ) *VhsTape {
return dag.
Vhs().
Tape().
Set().
PlaybackSpeed(speed)
}
@function
def example(speed: ) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.set()
.playback_speed(speed)
)
@func()
example(speed: ): VhsTape {
return dag
.vhs()
.tape()
.set()
.playbackSpeed(speed)
}
loopOffset() 🔗
Set the offset for when the GIF loop should begin. This allows you to make the first frame of the GIF (generally used for previews) more interesting..
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
offset | String ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set \
loop-offset --offset string
func (m *myModule) example(offset string) *VhsTape {
return dag.
Vhs().
Tape().
Set().
LoopOffset(offset)
}
@function
def example(offset: str) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.set()
.loop_offset(offset)
)
@func()
example(offset: string): VhsTape {
return dag
.vhs()
.tape()
.set()
.loopOffset(offset)
}
cursorBlink() 🔗
Set whether the cursor should blink. Enabled by default.
Return Type
Tape !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
blink | Boolean ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set \
cursor-blink --blink boolean
func (m *myModule) example(blink bool) *VhsTape {
return dag.
Vhs().
Tape().
Set().
CursorBlink(blink)
}
@function
def example(blink: bool) -> dag.VhsTape:
return (
dag.vhs()
.tape()
.set()
.cursor_blink(blink)
)
@func()
example(blink: boolean): VhsTape {
return dag
.vhs()
.tape()
.set()
.cursorBlink(blink)
}
TapeSettingBlock 🔗
comment() 🔗
Append a single or multiline comment to the tape.
Return Type
TapeSettingBlock !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
comment | String ! | - | No description provided |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
comment --comment string
func (m *myModule) example(comment string) *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock().
Comment(comment)
}
@function
def example(comment: str) -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
.comment(comment)
)
@func()
example(comment: string): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
.comment(comment)
}
emptyLine() 🔗
Append a single empty line to the tape. Useful for separating commands.
Return Type
TapeSettingBlock !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
empty-line
func (m *myModule) example() *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock().
EmptyLine()
}
@function
def example() -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
.empty_line()
)
@func()
example(): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
.emptyLine()
}
endSet() 🔗
EndSet ends the set block.
Return Type
Tape !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
end-set
func (m *myModule) example() *VhsTape {
return dag.
Vhs().
Tape().
SetBlock().
EndSet()
}
@function
def example() -> dag.VhsTape:
return (
dag.vhs()
.tape()
.set_block()
.end_set()
)
@func()
example(): VhsTape {
return dag
.vhs()
.tape()
.setBlock()
.endSet()
}
shell() 🔗
Set the shell.
Return Type
TapeSettingBlock !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
shell | String ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
shell --shell string
func (m *myModule) example(shell string) *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock().
Shell(shell)
}
@function
def example(shell: str) -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
.shell(shell)
)
@func()
example(shell: string): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
.shell(shell)
}
fontSize() 🔗
Set the font size.
Return Type
TapeSettingBlock !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
size | Integer ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
font-size --size integer
func (m *myModule) example(size int) *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock().
FontSize(size)
}
@function
def example(size: int) -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
.font_size(size)
)
@func()
example(size: number): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
.fontSize(size)
}
fontFamily() 🔗
Set the font family.
Return Type
TapeSettingBlock !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
font | String ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
font-family --font string
func (m *myModule) example(font string) *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock().
FontFamily(font)
}
@function
def example(font: str) -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
.font_family(font)
)
@func()
example(font: string): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
.fontFamily(font)
}
width() 🔗
Set the width of the terminal.
Return Type
TapeSettingBlock !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
width | Integer ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
width --width integer
func (m *myModule) example(width int) *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock().
Width(width)
}
@function
def example(width: int) -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
.width(width)
)
@func()
example(width: number): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
.width(width)
}
height() 🔗
Set the height of the terminal.
Return Type
TapeSettingBlock !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
height | Integer ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
height --height integer
func (m *myModule) example(height int) *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock().
Height(height)
}
@function
def example(height: int) -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
.height(height)
)
@func()
example(height: number): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
.height(height)
}
letterSpacing() 🔗
Set the spacing between letters (tracking).
Return Type
TapeSettingBlock !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
spacing | Integer ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
letter-spacing --spacing integer
func (m *myModule) example(spacing int) *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock().
LetterSpacing(spacing)
}
@function
def example(spacing: int) -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
.letter_spacing(spacing)
)
@func()
example(spacing: number): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
.letterSpacing(spacing)
}
lineHeight() 🔗
Set the spacing between lines.
Return Type
TapeSettingBlock !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
spacing | Float ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
line-height
func (m *myModule) example(spacing ) *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock().
LineHeight(spacing)
}
@function
def example(spacing: ) -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
.line_height(spacing)
)
@func()
example(spacing: ): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
.lineHeight(spacing)
}
typingSpeed() 🔗
Set the typing speed of seconds per key press.
Return Type
TapeSettingBlock !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
speed | String ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
typing-speed --speed string
func (m *myModule) example(speed string) *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock().
TypingSpeed(speed)
}
@function
def example(speed: str) -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
.typing_speed(speed)
)
@func()
example(speed: string): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
.typingSpeed(speed)
}
theme() 🔗
Set the theme of the terminal.
Return Type
TapeSettingBlock !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
theme | String ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
theme --theme string
func (m *myModule) example(theme string) *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock().
Theme(theme)
}
@function
def example(theme: str) -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
.theme(theme)
)
@func()
example(theme: string): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
.theme(theme)
}
padding() 🔗
Set the padding (in pixels) of the terminal frame.
Return Type
TapeSettingBlock !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
pixels | Integer ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
padding --pixels integer
func (m *myModule) example(pixels int) *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock().
Padding(pixels)
}
@function
def example(pixels: int) -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
.padding(pixels)
)
@func()
example(pixels: number): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
.padding(pixels)
}
margin() 🔗
Set the margin (in pixels) of the video.
Return Type
TapeSettingBlock !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
pixels | Integer ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
margin --pixels integer
func (m *myModule) example(pixels int) *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock().
Margin(pixels)
}
@function
def example(pixels: int) -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
.margin(pixels)
)
@func()
example(pixels: number): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
.margin(pixels)
}
marginFill() 🔗
Set the margin fill color of the video.
Return Type
TapeSettingBlock !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
color | String ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
margin-fill --color string
func (m *myModule) example(color string) *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock().
MarginFill(color)
}
@function
def example(color: str) -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
.margin_fill(color)
)
@func()
example(color: string): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
.marginFill(color)
}
windowBar() 🔗
Set the type of window bar.
Return Type
TapeSettingBlock !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
windowBar | Enum ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
window-bar
func (m *myModule) example(windowBar ) *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock().
WindowBar(windowBar)
}
@function
def example(window_bar: ) -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
.window_bar(window_bar)
)
@func()
example(windowBar: ): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
.windowBar(windowBar)
}
borderRadius() 🔗
Set the border radius (in pixels) of the terminal window.
Return Type
TapeSettingBlock !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
pixels | Integer ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
border-radius --pixels integer
func (m *myModule) example(pixels int) *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock().
BorderRadius(pixels)
}
@function
def example(pixels: int) -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
.border_radius(pixels)
)
@func()
example(pixels: number): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
.borderRadius(pixels)
}
framerate() 🔗
Set the rate at which VHS captures frames.
Return Type
TapeSettingBlock !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
rate | Integer ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
framerate --rate integer
func (m *myModule) example(rate int) *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock().
Framerate(rate)
}
@function
def example(rate: int) -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
.framerate(rate)
)
@func()
example(rate: number): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
.framerate(rate)
}
playbackSpeed() 🔗
Set the playback speed of the final render.
Return Type
TapeSettingBlock !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
speed | Float ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
playback-speed
func (m *myModule) example(speed ) *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock().
PlaybackSpeed(speed)
}
@function
def example(speed: ) -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
.playback_speed(speed)
)
@func()
example(speed: ): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
.playbackSpeed(speed)
}
loopOffset() 🔗
Set the offset for when the GIF loop should begin. This allows you to make the first frame of the GIF (generally used for previews) more interesting..
Return Type
TapeSettingBlock !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
offset | String ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
loop-offset --offset string
func (m *myModule) example(offset string) *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock().
LoopOffset(offset)
}
@function
def example(offset: str) -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
.loop_offset(offset)
)
@func()
example(offset: string): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
.loopOffset(offset)
}
cursorBlink() 🔗
Set whether the cursor should blink. Enabled by default.
Return Type
TapeSettingBlock !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
blink | Boolean ! | - | No description provided |
comment | String | - | Inline comment to add to the command. |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block \
cursor-blink --blink boolean
func (m *myModule) example(blink bool) *VhsTapeSettingBlock {
return dag.
Vhs().
Tape().
SetBlock().
CursorBlink(blink)
}
@function
def example(blink: bool) -> dag.VhsTapeSettingBlock:
return (
dag.vhs()
.tape()
.set_block()
.cursor_blink(blink)
)
@func()
example(blink: boolean): VhsTapeSettingBlock {
return dag
.vhs()
.tape()
.setBlock()
.cursorBlink(blink)
}