Fork me on GitHub

new_metadata

Creates a new ApexClass, ApexPage, ApexComponent, ApexTrigger. This command will also open the newly created metadata in the IDE.

{
    "project_name"  : "myproject",
    "metadata_type" : "ApexClass",
    "api_name"      : "MyCoolClass"
}       

refresh

Refreshes one or more files from the server

{
    "project_name"  : "myproject",
    "files"         : ["/path/to/file/1", "/path/to/file/2"]
}       

Refreshes one or more directories from the server

{
    "project_name"  : "myproject",
    "directories"   : ["/path/to/dir", "/path/to/another_dir"]
}       

compile

Compiles one or more files to the server

{
    "project_name"  : "myproject",
    "files"         : ["/path/to/file/1", "/path/to/file/2"]
}       

delete

Deletes one or more files from the server

{
    "project_name"  : "myproject",
    "files"         : ["/path/to/file/1", "/path/to/file/2"]
}