Skip to content

It is a npm package to streamline your github repositories , project workflow , authentication

Notifications You must be signed in to change notification settings

ShreyashPG/my-github-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c691b8a · Dec 29, 2024

History

2 Commits
Dec 29, 2024
Dec 29, 2024
Dec 29, 2024
Dec 29, 2024

Repository files navigation

My GitHub Manager - Script Runner

This project allows you to execute the my-github-manager package script in your project by importing and using a reusable function.

Setup Instructions

1. Import and Use the Function

In your main file (e.g., index.js), add the following code:

const runMyGithubManager = require('my-github-manager/runMyGithubManager');

// Call the function
runMyGithubManager()
    .then((output) => {
        console.log(`Script executed successfully: ${output}`);
    })
    .catch((error) => {
        console.error(`Script execution failed: ${error}`);
    });

Prerequisites

  • Ensure you have installed the my-github-manager package in your project:
    npm install my-github-manager
  • Make sure bash is available on your system. For Windows, you can use:

Additional Notes

  • The function is designed to be reusable and handles errors gracefully using Promises.
  • The script's path is dynamically resolved using path.resolve for cross-platform compatibility.

About

It is a npm package to streamline your github repositories , project workflow , authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published