function Tips.config_silence
The tips the
config.json files silence, as a struct: user, the ids in tips.silence of the user’s ~/.aspect/config.json; repo, those of the repository’s .aspect/config.json; and warnings, what is wrong with an invalid one, whose ids are left out, each warning returned once per process. user and repo name other files ("" for none).
function Tips.is_tip_id
Whether
id can be a tip’s id: not empty, and no whitespace or comma (--tips:silence=a,b is one id, so a comma is always a mistake).
function Tips.silence
Add
id (one id, or a list) to tips.silence of the user’s ~/.aspect/config.json (or the file at path) in one write, creating it when missing, under a lock and atomically, every other key kept. None when done, already silenced included; else why not, as a string, and nothing written (one bad id writes none).
function Tips.unsilence
Remove
id (one id, or a list) from tips.silence of the user’s ~/.aspect/config.json (or the file at path), as silence writes it. None when done, already absent included; else why not, as a string, and nothing written.
