spm init as an example of spm plugin