We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Can't get full name while there have a space between first name and last name. Example: Tom Hanks Got: Tom
The text was updated successfully, but these errors were encountered:
@mayflower-zc Which version of gum? v1.0.4 has been supported
Sorry, something went wrong.
I have reproduced this issue.
gum version: v1.0.4 operating system: macOS bigSur
v1.0.4
gum set hello --name hello world --email [email protected] gum list
result:
┌────────────┬─────────────────────┬────────────────────────┐ │ group-name │ name │ email │ ├────────────┼─────────────────────┼────────────────────────┤ │ global │ 周宇盛 Yusheng Zhou │ [email protected] │ │ hello │ hello │ [email protected] │ └────────────┴─────────────────────┴────────────────────────┘
the global git config's name can have space, but the config in gum can't have space
use quote
gum set hello --name 'hello world' --email [email protected] gum list
┌────────────┬─────────────────────┬────────────────────────┐ │ group-name │ name │ email │ ├────────────┼─────────────────────┼────────────────────────┤ │ global │ 周宇盛 Yusheng Zhou │ [email protected] │ │ hello │ hello world │ [email protected] │ └────────────┴─────────────────────┴────────────────────────┘
or gum preprocess the argument list before pass them to commander.js
gum
commander.js
the argument list get from process.argv treat hello world as seperate argument, and commander.js can not recognize the argument world.
process.argv
hello world
world
source code:
No branches or pull requests
Can't get full name while there have a space between first name and last name.
Example:
Tom Hanks
Got:
Tom
The text was updated successfully, but these errors were encountered: