Skip to content

feat(runMain): support custom showUsage option - #74

Merged
pi0 merged 6 commits into
mainfrom
feat/custom-usage
Nov 20, 2023
Merged

pi0 merged 6 commits into
mainfrom
feat/custom-usage

Conversation

@Barbapapazes

Copy link
Copy Markdown
Contributor

🔗 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
Comment thread src/main.ts 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
@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