mirror of https://github.com/charmbracelet/gum
test: add table, pager, file to test
This commit is contained in:
parent
b4c07eb3b9
commit
dfa412fa1a
|
@ -41,3 +41,12 @@ gum style --foreground 99 --border double --border-foreground 99 --padding "1 2"
|
|||
# Write
|
||||
gum write
|
||||
gum write --width 40 --height 3 --placeholder "Type whatever you want" --prompt "| " --show-cursor-line --show-line-numbers --value "Something..." --base.padding 1 --cursor.foreground 99 --prompt.foreground 99
|
||||
|
||||
# Table
|
||||
gum table < table/example.csv
|
||||
|
||||
# Pager
|
||||
gum pager < README.md
|
||||
|
||||
# File
|
||||
gum file
|
||||
|
|
Loading…
Reference in New Issue