Methods - PeterNaydenov/code-assembly-line GitHub Wiki

Here is the general information about Code-Assembly-Line methods:


// * Code-Assembly-Line API

CodeAssemblyLine.prototype = {
   
    // Template I/O Operations
    , insertTemplate     // Insert templates;
    , insertTemplateLib  // Insert templates as a template-library;    
    , getTemplate        // Export templates;
    , getTemplateLib     // Export templates from template-library;
    , getPlaceholders    // Return placeholders per template;
      
    // Template Manipulation
    , renameTemplate    // Change name of template/templates;
    , removeTemplate    // Remove template/templates;

    // Processes
    , insertProcess     // Insert new process;
    , insertProcessLib  // Insert list of processes with a single operation. JSON required;
    , mixProcess        // Set new process as combination of existing processes;
    , getProcessLib     // Export processes from process-library as JSON;
    , getHooks          // Provide information about hooks available
    , run               // Execute process/processes

    // Process Manipulation
    , renameProcess    // Renames a process
    , removeProcess    // Remove process/processes

    // Data I/O
    , insertData        // Insert data. Save data. Word 'blocks'
    , insertDataLib     // Insert set of data
    , getBlock          // Obtain rendered code snippets 
    , getBlocks         // Same as 'getBlock' 

    // Data Manipulation
    , renameData       // Change name of data record
    , removeData       // Remove data record from template engine
}

More detailed information you can find on specific method's page.