Skip to content

dyte-submissions/dyte-vit-2022-PS1607

Repository files navigation

Open in Visual Studio Code

LinkedIn


Logo

Dyte Project

A command line tool to manage dependency versions.
Explore the docs » (Currently NA)

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. License
  6. Contact

About The Project

Submission for Dyte Internship shortlisting. Works on macOS/Linux.

(back to top)

Built With

(back to top)

Getting Started

To run this tool on your system locally, follow the installation steps.

Prerequisites

Make sure you upgrade pip before moving on. All the required dependencies are in requirements.txt which would be installed at the time of running the setup.

pip install --upgrade pip

Installation

  1. Download the repository as zip. Unzip.

  2. Put your GitHub Access Token in github_token.py in the variable token

  3. cd to the repository folder

  4. Run this command

    python3 setup.py install

(back to top)

Usage

---> I have packaged the CLI tool. The name of the console script is dependency. So that it can run directly from the keyword dependency. It will invoke the main method of the main module in the dyteproject package. For help, run the below command:

dependency -h


---> The command -i expects 3 Arguments; PATH_TO_INPUT_CSV_FILE, DEPENDENCY_NAME, DEPENDENCY_VERSION

Usage example#1

dependency -i /Users/prakhar/downloads/input.csv axios 0.23.0

Usage example#2

dependency -i /Users/prakhar/downloads/input.csv eslint 7.32.0

---> The tool returns the list in the format as shown below

image

---> The same is stored in the CSV file used for input

For more examples, please refer to the Documentation

(back to top)

Roadmap

  • Integrate -update feature. (Unable to complete because of time limit)

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Your Name - @prakhar16072002 - prakharsharma1607@gmail.com

LinkedIn - https://www.linkedin.com/in/prakhar-sharma-2020/

Github Link: https://github.com/PS1607

Google Developer: https://g.dev/ps1607

(back to top)

About

dyte-vit-2022-PS1607 created by GitHub Classroom

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages