This is a plugin to extract your extended public and private(optional) keys from your clightning node via rpc command
add plugin to command line or config file.
lightning-cli dump_keys
to get xpub
lightning-cli dump_keys true
to get both xpub and xpriv