sources share
Ask, or answer, whether Lem may send which source each discovery read, whether it was there and how many records and papers it held, rounded.
Invocation#
lem-cli sources share [yes|no]Inputs and options#
- No answer prints the question with an example of what would be sent: the adapter, whether it was found, and counts rounded to 0, 1-9, 10-99, 100-999, 1000-9999 or 10000+, under the SHA-256 digest of a random subject kept with the answer.
- yes or no keeps the answer.
Output and state#
The answer is kept in $XDG_CONFIG_HOME/lem/sources-share.json, else ~/.config/lem/sources-share.json, with the subject and when it was given; the subject stays the same across answers. Prints share and kept, the file's path.
Refusals#
- An answer that cannot be written refuses with sources-share-unkept, naming the file and the system's words, exit 1.