sdk_tool__lokeshmishra

1.0.1 • Public • Published

SDK_TOOL

A CLI tool to imitate the functionalities of Dependabot.

Installation

Clone the repository:

git clone https://github.com/dyte-submissions/dyte-vit-2022-MishraLokesh

Install the dependencies:

npm i

Install the package globally on your machine:

npm i --location=global

Usage

  1. To view the input csv provided:
sdk_tool list -i "name.csv"
  1. To add a new repository information on top of csv:
sdk_tool add

For example:

sdk_tool add
Enter the name of the repository: 
Enter the link of the repository: 

This keeps continues until the user wants to exit explicitly by pressing 'ctrl+c'

  1. Verify the version number with the version provided:
sdk_tool verify "dependancy_name@version_number"

This will verify the version number of each repository provided in the csv file with the version number provided of the respective dependency

sdk_tool pull_req "dependancy_name@version_number" -update

where -u, -update can take at least one value. Values are separated by spaces. This will fetch the package.json file of those repositories which are out of date, and fork the repository, make changes to the remote repository, and then generate a pull request to the original repository

Readme

Keywords

Package Sidebar

Install

npm i sdk_tool__lokeshmishra

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

14.6 kB

Total Files

14

Last publish

Collaborators

  • lokesh_mishra