id = "streamlit"
name = "Streamlit"
homepage = "https://streamlit.io"
description = "A faster way to build and share data apps."
icon = "SimpleIcons:streamlit"
executables = ["streamlit"]
[dotfiles]
paths = [
"~/.streamlit/config.toml",
"~/.streamlit/credentials.toml",
]
exclude = []
secret = ["~/.streamlit/secrets.toml"]
[commands]
format = 1
label = "Streamlit commands"
description = "Run a Streamlit app script. Config, cache and docs subcommands are left out."
quality = "ai-draft"
base = "fig:streamlit"
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false }
[[commands.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/streamlit.ts"
license = "MIT"
[[commands.subcommand]]
path = ["run"]
label = "Run an app"
description = "Run a Python script as a Streamlit app."
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false }
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/streamlit.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "script"
label = "Python script"
type = "path"
position = 0
path = { kind = "file", role = "input", must_exist = true }
sources = ["fig"]
[[commands.subcommand.task]]
id = "run"
label = "Run script"
fields = ["script"]
required = ["script"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["script"]