Skip to content

Configuration #65

@erayerdin

Description

@erayerdin

Some kind of configuration file is definitely needed for customizing the behavior of tgcli. The chosen format for configuration file is TOML. It will be named as .tgcli.toml and it will be located under $HOME. The presence of the file is optional.

Planned Settings

# settings for bot subcommand
[subcommands.bot]
# play notification sound on target or not
silent=false

# settings for bot send subcommand
[subcommands.bot.send]
# the format of the message
# possible values are:
# 👉 markdown, DEFAULT
# 👉 html
format="markdown"
# the timeout for file id cache database in seconds
# defaults to 60 seconds
fidc_db_lock_timeout=60

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions