pasta/pasta.toml.example
felix@feldspaten.org c8fa77b0f6
Add aliases to pasta client
Add configurable aliases to the pasta client. Aliases for remote
instances can be put into the ~/.pasta.toml file and defined via the
remote program parameter.
2021-10-14 13:32:53 +02:00

18 lines
508 B
Plaintext

# Keep in mind to escape string. This is TOML not an ini file!
# Place this file in ~/.pasta.toml
RemoteHost = "http://localhost:8199"
# Example for a remote with one alias
# aliases can be given to `pasta` as a remote argument and will be
# completed to the given url
[[Remote]]
url = "http://localhost:8199"
alias = "localhost"
# Example of a remote with multiple aliases
[[Remote]]
url = ""http://localhost:8200"
alias = "localhost2" # one alias
aliases = ["local2", "loc2"] # more aliases