Skip to content

Conversation

@aristotelesbr
Copy link

@aristotelesbr aristotelesbr commented Feb 7, 2025

Description

This PR improves the user experience when using the camping binary's help option:

  • Makes -h show help documentation when used alone
  • Maintains hostname functionality when -h is used with a value
  • Adds comprehensive tests for help command scenarios
  • Updates version to 3.2.7

Before this change, using camping -h would result in an error instead of showing help documentation.

Preview

image

The -h option now shows help documentation when used alone,while
maintaining its hostname functionality when a value is provided.
Update version for new release including help documentation improvements
@aristotelesbr aristotelesbr changed the title Fix help cli Enhance camping binary help documentation Feb 7, 2025
@aristotelesbr aristotelesbr marked this pull request as ready for review February 7, 2025 16:35
@aristotelesbr
Copy link
Author

Hi! @kaylahrose. I've implemented a solution to improve the -h command behavior in the Camping binary.

After analyzing the project's test structure, I'm uncertain about the best way to add tests for this new functionality. I'd appreciate your guidance on.

I'm ready to implement the tests once we have a clear definition of the best approach.

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