harshasrinivas / cli-github Goto Github PK
View Code? Open in Web Editor NEWGithub within the CLI :computer:
License: GNU General Public License v3.0
Github within the CLI :computer:
License: GNU General Public License v3.0
How about displaying more user information ( such as followers, following, number of commits, longest streak etc...) with the -n switch?
The project currently uses two readme files, a README.md
and a README.rst
. We dont need both.
To allow the project description to be displayed in the pypi project page, we would only need one of them. If we use, README.md
we need to add it to [metadata]
in setup.cfg
, but if we use ReST, we wouldn't need any [metadata]
.
Go through http://choosealicense.com/
Whats the point of having continuous integration without having any tests at all?!
I installed it using pip as mentioned and consequently tried running it but it gave me an error "INVALID CREDENTIALS", I am sorry but am I missing something?
Here is the screenshot for a quick look -
requests
is pretty popular. Please take a moment to understand its advantages, some of it being having a RESTful api and cross version compatibility, so you don't need to use future
.
More information here: http://stackoverflow.com/a/14804320/3578554
I could submit a pull request replacing urllib
with requests
, if this is okay with you.
I was unable to get cli-github -n to work...
$ cli-github -n robbyoconnor
Enter a valid URL. For help, type 'cli-github -h'
Right now only the contents of the README can be seen, this can be extended to other files.
-n should be able to detect whether it's a username or a link.
so cli-github -n harshasrinivas
and cli-github -n github.com/harshasrinivas/
should both work. No need to have -u if it's a URL.
@harshasrinivas Hi, I was wondering if README.rst could be removed from the source if pypandoc is used?
Something like this in setup.py
-
try:
import pypandoc
long_description = pypandoc.convert('Readme.md', 'rst')
except(IOError, ImportError):
long_description = open('Readme.md').read()
Will this work?
Change this line API_TOKEN = os.environ.get('GITHUB_TOKEN') to API_TOKEN =
Change this to a command line option.
Why are there continuous commits with the same commit message and code diff?
argparse is include by default in most python distributions. You don't need to include it in the requirements.
➜ ~ cli-github -n sindhus
------------------------------------------------------------------------------------------------------------------------------------------------------
Invalid Credentials. For help, type 'clipy-github -h'
------------------------------------------------------------------------------------------------------------------------------------------------------
➜ ~ source ~/.zshrc
git_cmd=git
➜ ~ echo $GITHUB_TOKEN
<redacted>
➜ ~ cli-github -n sindhus
------------------------------------------------------------------------------------------------------------------------------------------------------
Invalid Credentials. For help, type 'clipy-github -h'
------------------------------------------------------------------------------------------------------------------------------------------------------
➜ ~ clipy-github -h
zsh: command not found: clipy-github
Am pretty sure I've set the the GITHUB_TOKEN env var and what's clipy-github -h
? shouldn't it be cli-github -h
?
What am I missing here with regards to credentials here that I can't use your module?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.