Closed trincadour closed 6 years ago
I have just found what was wrong.
In the GUI case the problem was my $EDITOR
variable, which I changed a few days ago to nothing (' ') and forgot to change back, so it was calling nothing and thus only refreshing the console. I specified it on the config file and now it's working normally.
As for the CLI command I simply was using it wrong, I didn't expect to use literally "-" as a command argument instead of changing to my custom text argument. So I just piped from echo to it like this:
echo "Testing" | sncli -t Test create -
And I got my note.
I think it would be good to specify a little more about sncli create
in the readme, I only made the connection when looking the info about the import command. It's kinda confusing for beginners.
Sorry for the inconvenience.
@trincadour no inconvenience at all! Thanks for the heads up. 👍 I'll look into improving the readme/manual sometime.
Problem: I can't make new entries neither with
sncli create
or with the console GUI when pressing 'C'. In the GUI I get only a screen refresh when I try creating a note or even when I am trying to edit one.Other functions like
sncli list
,sncli sync
andsncli export
are working fine, and I can see my notes as well.Environment:
Error:
No error in both, only the usage text. Is that the correct way to make a note through stdin?
No error as well.
When I am invoking sncli from emacs I get the same error.
Am I missing something in my config file? I only have my username and password in it. Or maybe something is outdated?