Skip to content

Document history default listing#239

Open
DanielButler1 wants to merge 1 commit into
CortexLM:mainfrom
DanielButler1:fix/history-default-help-53424
Open

Document history default listing#239
DanielButler1 wants to merge 1 commit into
CortexLM:mainfrom
DanielButler1:fix/history-default-help-53424

Conversation

@DanielButler1
Copy link
Copy Markdown

Summary

  • document that cortex history lists recent prompts when no subcommand is provided
  • add a parser help test for that default behavior
  • repair an existing test import so cortex-cli lib tests compile

Related: PlatformNetwork/bounty-challenge#53424

Verification

  • rustfmt --edition 2024 --check src/cortex-cli/src/cli/args.rs src/cortex-cli/src/agent_cmd/tests.rs
  • git diff --check
  • cargo test -p cortex-cli cli::args::tests::test_history_help_documents_default_list_behavior
  • cargo check -p cortex-cli

Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

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.

1 participant