mcandre / toys

code demos for newbies
https://github.com/mcandre/toys
30 stars 6 forks source link

kick: add option to modify a nonce file #513

Open mcandre opened 2 weeks ago

mcandre commented 2 weeks ago

Add a -f <path> command line flag to kick.

When present, kick (over)writes the file at the given path, with the current timestamp, in an ISO8601 format resembling RFC3339 at Z timezone.

May want to promote kick from a shell script to a Go or Rust application.