@strawci/parser
v1.0.0
Published
Action parser for StrawCI
Downloads
1
Readme
🍓 StrawCI Parser
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.
👷 Constructor
const Parser = require("@strawci/parser");
const parser = new Parser("path of .strawci directory");
📝 Action Getters
// 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");
🔒 Secret Getters
// Get Project ID
parser.getProjectID();
// Get Deploy Key
parser.getDeployKey();
❤️ The End
Made with Love by Sammwy