git ssb

7+

cel / sbotc



Minimist argument parsing

%EK/MPjUxJuIZ9hVpCLpSTJkgJGs51C/hDRUsJ6NDLkg=.sha256
Opencel opened this issue on 2/12/2020, 4:40:05 PM

Minimist argument parsing

The sbot/ssb-server CLI uses minimist to parse command-line arguments into RPC JSON arguments. sbotc requires the arguments to be already specified in JSON (except for if using the -e option to treat them all as strings). If minimist was ported to C, sbotc could have a command-line flag to parse the arguments the way that sbot does. This could allow for easier migrating of scripts from sbot client to sbotc, and give more familiarity to sbot users.

Built with git-ssb-web