Skip to content

Tilde expansion or $HOME inside config #56

@danielwerg

Description

@danielwerg

While rcon -c ~/.config/rcon-cli/rcon.yml -e name --log ~/.local/state/rcon-cli/name.log works it would be preferable to define log path inside config.

name:
  address: "127.0.0.1"
  password: "PASS"
  type: "rcon"
  log: "~/.local/state/rcon-cli/name.log"

None of the following works:

log: "~/.local/state/rcon-cli/name.log"
log: "$HOME/.local/state/rcon-cli/name.log"
log: ~/.local/state/rcon-cli/name.log
log: $HOME/.local/state/rcon-cli/name.log

related: #45

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions