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

feat(runMain): support custom showUsage option #74

Merged
merged 6 commits into from
Nov 20, 2023
Merged

Conversation

Barbapapazes
Copy link
Member

πŸ”— Linked issue

fix #26

❓ Type of change

  • πŸ“– Documentation (updates to the documentation, readme, or JSdoc annotations)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

Allow user to pass a custom function to create their own custom usage prompt.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@Barbapapazes Barbapapazes added the enhancement New feature or request label Sep 13, 2023
@Barbapapazes Barbapapazes self-assigned this Sep 13, 2023
@Barbapapazes Barbapapazes requested a review from pi0 September 13, 2023 07:12
src/main.ts Outdated Show resolved Hide resolved
@Barbapapazes Barbapapazes requested a review from pi0 September 15, 2023 07:40
@pi0 pi0 changed the title feat: allow custom usage feat(runMain): support custom showUsage option Nov 20, 2023
@pi0 pi0 merged commit 1f08dcc into main Nov 20, 2023
2 checks passed
@pi0 pi0 deleted the feat/custom-usage branch November 20, 2023 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Passing custom usage/help method
2 participants