This package fulfills the function of parsing the secret.yml and strawci.yml configuration files and obtaining all the actions that will be executed on the deployment server.
const Parser = require("@strawci/parser");
const parser = new Parser("path of .strawci directory");
// Get list of project dependencies
parser.getDependencies();
// Get list of initial actions
parser.getInitionActions();
// Get list of actions to be executed for an specific branch
parser.getBranchActions("main");
// Get Project ID
parser.getProjectID();
// Get Deploy Key
parser.getDeployKey();
Made with Love by Sammwy