@strawci/parser

1.0.0 • Public • Published

🍓 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

Readme

Keywords

Package Sidebar

Install

npm i @strawci/parser

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

4.81 kB

Total Files

8

Last publish

Collaborators

  • sammwy