question-mark

Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Need a way to have only short optionList names

See original GitHub issue

Issue Description

Currently name property in optionList is required and it is rendered with -- prefix in the usage help text.

I’m trying to create a usage help in which some of the switches doesn’t accept long forms and I want to render them like below:

  -l value              List all                     
  -f                    force description 
  -a, --append value    Appending some value

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
75lbcommented, Nov 3, 2019

Fixed and released in v6.1.0. Let me know if you find anything else. 👍

0reactions
SHNDcommented, Nov 4, 2019

I’m not familiar with how the definition files are being maintained, but I try to look into it when I get a chance. But I definitely encourage to check it out, it’s pretty awesome for at least code completion for IDEs and Editors (along with all the cool stuff TypeScript offers). It seems that some people enjoyed your package that much that they wrote definitions for it 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Select Short or Long Drop Down List in Excel - YouTube
In an Excel worksheet, add a drop down list in a cell, to make data entry easier.In this example, created by Alex J,...
Read more >
Excel Drop Down Lists - Data Validation - Contextures
Easy steps to make drop down list wth Excel data validation. Show list of valid entries, reduce data entry errors.
Read more >
Container image short names in Podman | Enable Sysadmin
This new feature, pulling images with Podman by using short names, includes more security, greater convenience, and is another step forward ...
Read more >
Excel drop down list: how to create, edit, copy and remove
Select the entries you want to appear in your drop-down menu in an existing worksheet or type the entries in a new sheet....
Read more >
Names in formulas - Microsoft Support
Select the cell, range of cells, or nonadjacent selections that you want to name. · Click the Name box at the left end...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found