-
Notifications
You must be signed in to change notification settings - Fork 30
Editors' plugins
Aleh Kashnikau edited this page Sep 2, 2015
·
4 revisions
Padawan.php package provides 2 command line scripts:
-
padawan- cli for padawan.php -
padawan-server- script for starting padawan.php http server
#padawan-server
There are 4 urls:
/complete/save/kill/load
You can find all routes here
params = {
'filepath': filepath.replace(curPath, ""),
'line': request_data['line_num'],
'column': request_data['column_num'],
'path': curPath
}and file contents in request body.
There are 3 cli commands:
- generate
- update
- plugin
You can find all commands here
Plugin command accepts 2 arguments: action( add or remove ) and plugin name( e.g. mkusher/padawan-symfony ).
Generate command doesn't have arguments, it will generate index for a project of the current working directory.