Skip to content

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

Merged
ellie merged 1 commit intoatuinsh:mainfrom
deicon:feat/Help_On_History_List
Sep 17, 2023
Merged

docs: document the available format options of History list command#1234
ellie merged 1 commit intoatuinsh:mainfrom
deicon:feat/Help_On_History_List

Conversation

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

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
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.

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
@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.

2 participants