Plugin Generate
Create a new custom Capacitor plugin. This starts a wizard that prompts you for information about your new plugin. More information on developing plugins here.
# Capacitor CLI already installed in project
npx cap plugin:generate
# Capacitor CLI not installed
npx @capacitor/cli@2.4.7 plugin:generate