Skip to content

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

Merged
ellie merged 3 commits intoatuinsh:mainfrom
YummyOreo:atuin-info
Mar 10, 2024
Merged

feat: adds info command to show env vars and config files#1841
ellie merged 3 commits intoatuinsh:mainfrom
YummyOreo:atuin-info

Conversation

@YummyOreo
Copy link
Copy Markdown
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
Copy Markdown
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
@llimllib
Copy link
Copy Markdown

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