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

docs: document the available format options of History list command #1234

Merged
merged 1 commit into from
Sep 17, 2023
Merged

docs: document the available format options of History list command #1234

merged 1 commit into from
Sep 17, 2023

Conversation

deicon
Copy link
Contributor

@deicon deicon commented Sep 16, 2023

Adding {exit} to available History List command format options. Although implemented, it was not shown in the Help Screen.
#1230

atuin history list --help
List all items in history

Usage: atuin history list [OPTIONS]

Options:
  -c, --cwd
  -s, --session
      --human
      --cmd-only         Show only the text of the command
  -f, --format <FORMAT>  Available variables: {command}, {directory}, {duration}, {user}, {host}, {exit} and {time}. Example: --format "{time} - [{duration}] - {directory}$\t{command}"
  -h, --help             Print help
atuin history list --format '{directory}\t{command}\t{exit}'
/home cargo install --path . --target-dir target	0
/home atuin history list --help	0

@vercel
Copy link

vercel bot commented Sep 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
atuin-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 16, 2023 1:26pm

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.

Thank you!

Seeing as this is your first time contributing, if you would like a holographic contributors-only Atuin sticker, then please fill out this form!

We do also have a Discord if you'd like to ask any questions, or just fancy hanging out!

@ellie ellie enabled auto-merge (squash) September 17, 2023 15:55
@ellie ellie merged commit 8b815e4 into atuinsh:main Sep 17, 2023
10 checks passed
@deicon deicon deleted the feat/Help_On_History_List branch September 17, 2023 18:08
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.

None yet

2 participants