Device plugin management (4/n): Allow choosing "device" plugin type in "flipper-pkg init"

Summary:
Added option to bootstrap device plugin in "flipper-pkg".

Changelog: "flipper-pkg init" can now be used to bootstrap device plugins

Reviewed By: mweststrate

Differential Revision: D26389429

fbshipit-source-id: 90773011bd50289004cd747111e1787402840922
This commit is contained in:
Anton Nikolaev
2021-02-16 10:46:11 -08:00
committed by Facebook GitHub Bot
parent 4cb40de3f5
commit 68248a7c63
11 changed files with 468 additions and 9 deletions

View File

@@ -41,7 +41,7 @@
"errorMessage": "should contain keyword \"flipper-plugin\""
},
"pluginType": {
"description": "Type of the plugin - client or device. If omitted, \"client\" type is used by default.",
"description": "Type of the plugin - \"client\" if the plugin connects to a specific client plugin running in a mobile app, or \"device\" if it connects to devices. If omitted, \"client\" type is assumed by default.",
"type": "string",
"enum": ["client", "device"]
},
@@ -84,6 +84,6 @@
"id",
"main",
"flipperBundlerEntry",
"keywords"
"keywords"
]
}