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

Set default URL without using --init #11

Open
wndyy opened this issue Feb 11, 2024 · 1 comment
Open

Set default URL without using --init #11

wndyy opened this issue Feb 11, 2024 · 1 comment

Comments

@wndyy
Copy link
Collaborator

wndyy commented Feb 11, 2024

I think it's too time consuming to set default URL using init flag and going through the configuration process.

I think it'd be useful to have a feature that is similar to git, where you have a command that helps you set the default URL without going through the whole configuration process.

@cvraut
Copy link
Owner

cvraut commented Feb 12, 2024

Sounds like a good idea.

Worth mentioning that u don't have to run whecho --init to use whecho. The init defines the configuration explicitly in front of the user. If the --url flag is passed it doesn't matter if the configuration exists or not. The message is sent to the provided url.

Some users are already familiar with the --init flag, so don't remove the current functionality but add in another option or cmd line argument like whecho --config <key> <value>.

Send me a PR and I can review it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants