Skip to content

Generate git syntax, commands by interacting with the terminal using natural language.

License

Notifications You must be signed in to change notification settings

Sharan-Babu/easygit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easygit Upload Python Package Python application Downloads Maintenance

Generate git syntax, commands by interacting with the terminal in English.

Documentation | Contribution Guidelines | Releases | Wiki

crop1

This repo is also meant to be a reference for learning how to create libraries in Python and use various features that Github provides like Github Actions, Projects and Releases. Well detailed notes on the same can be found here.

Installation

pip install easygit

How to use:

from easygit import Easygit
git = Easygit()
git.interactive()

Upgrade Package to latest version

pip install --upgrade easygit

Cloning repo

Note: Will likely contain changes not yet released in PyPI library.

pip install colorama wit
git clone https://github.com/Sharan-Babu/easygit.git

Versioning PyPI version

You can download specific versions of the library here.

Overview

easygit library comes with the Easygit class which has the following methods:

1) query()

Used to retrieve explanation/git syntax for given sentence.

Example Usage:

git = Easygit()
git.query("How to clone a repository using git?")

Output:

git clone <repository_web_url>

2) interactive()

Used to start interactive mode in terminal.

git = Easygit()
git.interactive()

Output:

Interactive mode:

Enter your query: 

carbon

License

MIT License

Awesome Contributors

Sharan Babu: Linkedin Logo
Rajesh Silvoj: Linkedin Logo

forthebadge made-with-python