Comments (4)
@kzu I have no problem making -?
a valid option name. I don't think it will have any unforeseen side effects.
from spectre.console.
Sounds like a reasonable thing to add 👍
from spectre.console.
Adding it as another alias/name for the Help command fails with Encountered invalid character '?' in option name.
So there are two implementation choices:
- Make
?
a valid option name in the parser - Convert on the fly from
-?
to-h
before executing the app
Option 1 would make the alias discoverable, but may have unintended side-effects due to adding a character that's currently not valid.
Option 2 is easier to implement, but makes it a hidden feature.
Thoughts @patriksvensson?
For now, the PR has option 2, for simplicity reasons :)
from spectre.console.
Fixed!
from spectre.console.
Related Issues (20)
- Sixlabors ImageSharp 3.X?
- Add interactive input fields HOT 1
- Built-in parameter `--version` conflicts with existing one HOT 9
- `ExplainCommand+Settings` ctor fails `ServiceProvider.ValidateService` HOT 1
- Bad rendering for table live display / hidden table headers / no border and forced refresh
- Search doesn't work properly in selection prompts HOT 1
- Add paging function to selection prompt
- Fill entire background with custom color
- Unable to redirect output to file HOT 1
- More control over output - padding HOT 2
- Allow for a custom search filtering function for the SelectionPrompt
- Allow for multiple matching search result items with the SelectionPrompt
- Detecting and handling unicode support HOT 1
- Add public API to display help manually by user code HOT 1
- ValidationResult.Error should accept/support markup string when returing from CommandSettings.Validate method. HOT 1
- Can't find how to render panel to whole screen HOT 2
- Request: ability to display part of table rows
- Display error. HOT 1
- Selection Prompt on Grid
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spectre.console.