• xtrn/wttr.in/wttr-lib.js wttr.js

    From echicken@VERT to Git commit to main/sbbs/master on Friday, February 24, 2023 08:26:56
    https://gitlab.synchro.net/main/sbbs/-/commit/6eef99ba64481e845f9a211d
    Modified Files:
    xtrn/wttr.in/wttr-lib.js wttr.js
    Log Message:
    Allow command line arguments to override modopts values.

    Parameter names are -- prefixed, with a space between name and
    value. Quotes etc. around values are not handled; use escapes.
    We can get fancier with this later if it's necessary.

    Example:

    ?wttr.js --fallback_location Toronto --cache_ttl 0

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net