Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adds info command to show env vars and config files #1841

Merged
merged 3 commits into from
Mar 10, 2024

Conversation

YummyOreo
Copy link
Contributor

Fixes #1542
Adds atuin info that prints config locations and version information (see below). This could be a sub command, but IDK what command it would fall under. Possible a new command like atuin config that would reset the config (just an idea)?

Config files:
client config: ~/.config/atuin/config.toml"
server config: "~/.config/atuin/server.toml"
client db path: "~/share/atuin/history.db"
key path: "~/.local/share/atuin/key"
session path: "~/.local/share/atuin/session"

Env Vars:
ATUIN_CONFIG_DIR = "None"

Version info:
version: 18.0.2

Checks

  • I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle
  • I have checked that there are no existing pull requests for the same thing

Copy link
Member

@ellie ellie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is nice, thank you!

@ellie ellie merged commit ba0fe21 into atuinsh:main Mar 10, 2024
16 checks passed
@llimllib
Copy link

Thanks @YummyOreo !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Proposal: atuin config should list all config files and dirs
3 participants