Giter VIP home page Giter VIP logo

auto-github's Introduction

Auto-Github

Creates a repo with a README and clones the repo all in just two lines or one if you'd like The README is pre-filled with the Repo title and description

Why

Wanted github's cli features but not all of the features.

So I did the next best thing, spent hours researching how to to do it so that I can do it in 30sec

eyes

Now you can too

Installation && setup

Note

Recommend generating a new personal token with only repo permission

You need an internet connection for the script to work


Clone the repository

 git clone https://github.com/musaubrian/auto-github

install requirements

 cd auto-github

 ./setup.py

Usage && Examples

demo

 ./main.py --help
or
 python3 main.py --help

usage: main.py [-h] [-r REPO] [-i ISSUE]

creates repo on github with README && gitignore

optional arguments:
  -h, --help            show this help message and exit
  -r REPO, --repo REPO  Name of the github repositiory
  -i ISSUE, --issue ISSUE 
                        get issues using issue status [open |
                        closed | all]

Example

Repositroy arg (-r | --repo)

 ./main.py -r repository_name
Add repo description: description of the repo
Make it private (y/n)? y

<Response [201]>
========== successfully created repository_name ==========

Cloning into 'repository_name'...
remote: Enumerating objects: 6, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 6 (delta 1), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (6/6), 463 bytes | 33.00 KiB/s, done.

========== Process complete ==========

Issues arg (-i | --issue)

 ./main.py -i closed
issues status: closed
Repo to search issues: auto-github

Issue(title="clone function", number=2)
Issue(title="add issue tracker", number=1)

auto-github's People

Contributors

musaubrian avatar

Stargazers

 avatar  avatar

Watchers

 avatar

auto-github's Issues

clone function

Add git clone function

when repo is created clone it locally
location - unsure

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.