2 Commits

Author SHA1 Message Date
Moritz Poldrack
b966bcfb04 use XDG_CONFIG_HOME by default
To prevent having users always specify the configuration file, the path
now defaults to $XDG_CONFIG_HOME/neosay/config.json. This way it is
possible to send messages from a "default identity" like this:

	echo "look mom, I'm in someone's commit history!" | neosay

To make the code more succinct, flag parsing is no longer done manually,
but instead using the flag package from stdlib.

Fixes: https://github.com/donuts-are-good/neosay/issues/2
Signed-off-by: Moritz Poldrack <git@moritz.sh>
2023-04-18 21:54:02 -05:00
donuts-are-good
ab5679805a hello neo... v1.0.0 2023-04-08 22:16:01 -05:00