tellerops / teller

Cloud native secrets management for developers - never leave your command line for secrets.
https://github.com/tellerops/teller
Apache License 2.0
2.8k stars 183 forks source link

BUG: Teller default path incorrect as per the docs `teller.yml` vs `.teller.yml` #273

Closed stvnksslr closed 3 months ago

stvnksslr commented 3 months ago

By default the teller cli strips the . from before the teller path so it cannot find files generated with teller new or if a user follows the README.md documentation.

Expected Behavior: Teller should use the same default as generated by teller new and referenced in the documentation by default.

current behavior as of master:

❯ teller new
Configuration saved in: ".teller.yml"

❯ teller env
Error: failed to open file `teller.yml`

Caused by:
    No such file or directory (os error 2)

Location:
    /private/tmp/teller-20240512-8123-9ubje5/teller-2.0.4/teller-cli/src/cli.rs:188:18

this should make cases like this easier to troubleshoot where its clearer whats changed and maybe config migrations down the road.

https://github.com/tellerops/teller/issues/216#issuecomment-2107950612