github-interact-cli

授权协议 MIT License
开发语言 JavaScript
所属分类 应用工具、 终端/远程登录
软件类型 开源软件
地区 不详
投 递 者 麻鹏鹍
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

github-interact-cli

⚡️ github-interact-cli

github-interact-cli lets you use GitHub right inside your terminal.

�� FEATURES

  • �� Create a new repo
  • ♻️ Delete your existing repo
  • �� Get all public repos of any GitHub User
  • ⚠️ Open issue in any repo.
  • ✉️ Get public email of any GitHub user
  • ⭐️ Get stargazers of any GitHub repo

�� INSTALLATION

Install the CLI globally. If you are windows user, run your command prompt/terminal as administrator. If you are macOS user, add sudo before the following command.

npm i -g github-interact-cli
installation

�� SETUP

Type the following in the terminal to run the CLI.

github

CLI will start running. It will ask you to add a Personal Access Token & your GitHub Username. If you don't know what Personal Access Token is & how to create one, check this awesome guide by GitHub.

!Note: Be sure to give the token repo, admin:repo_hook & delete repo scopes .

personal access token configurations

Once you are done, exit the CLI so that configurations can be saved & used again.

done

! Note: This is one time thing. You will not have to do it again every time you run the CLI.

�� Shortcuts

You can now use shortcuts to interact with the CLI. Just type any of the following in the terminal & hit Enter

  • New Repo
github-new
  • Delete Repo
github-delete
  • Get All Public Repo
github-get
  • Open Issue
github-issue
  • Get Email
github-email
  • Get Stars
github-stars

�� Create New Repo

Write the following in the terminal to run the CLI again.

github

You will get this menu. ��

menu

Enter 1 to Create a GitHub Repo. Then answer the next questions.

done

Taa daa! The repo has been created. You can check it! ��

♻️ Delete your Existing Repo

Type the following in the terminal to run the CLI.

github

You will get this menu. ��

menu

Enter 2 to Create a GitHub Repo. Then enter the name of the repo you want to delete.

done

Taa daa! The repo has been deleted. ����

! Note: Be sure to give your personal access token delete repo scope. If you don't know how to edit your current token, follow these steps.

  • Open your GitHub account settings
  • Select Developer settings from the left sidebar
  • Click on Personal access tokens
  • You will see a list of personal access tokens. Select the token you created earlier for github-interact-cli.
  • Scroll down the scope list and select delete_repo
  • Then scroll at the bottom & select Update token

steps of editing personal access token

�� Get All Repos

Type the following in the terminal to run the CLI.

github

You will get this menu. ��

menu

Enter 3 to get all GitHub Public Repos of the any GitHub user. Next enter the username of the GitHub user you want to see the repos of.

enter username

Press Enter. And there you have it, folks! ��

done

⚠️ Open Issue

Type the following in the terminal to run the CLI.

github

You will get this menu. ��

menu

Enter 4 to Create a GitHub Issue. Then answer the next questions.

done

Click here to check the issue I just created in the screenshot.

✉️ Get Public Email

Type the following in the terminal to run the CLI.

github

You will get this menu. ��

menu

Enter 5 to get public email of the GitHub user. Then enter the username of the GitHub user.

done

⭐️ Get Stargazers

Type the following in the terminal to run the CLI.

github

You will get this menu. ��

menu

Enter 6 to get total number of stargazers of any GitHub repos. Then answer the next questions.

done

�� FEATURE REQUEST

Use the Issues section if you want to request any feature or report an issue.

���� PROPS

����‍�� AUTHOR

����‍♂️ Hola! I am Saad, an undergrad Computer Science student. I developed this CLI to automate the repetitive ridiculous amount of things we have to do in GitHub. You can follow me at

⚡️ Other Projects

I have curated a detailed list of all the open-source projects I have authored. Do take out a moment and take a look.

�� LICENSE

  • MIT
 相关资料
  • Gihtub Client A simple github client web applcation using OOP javascript and the Github API Screenshot

  • 所以现在我们已经介绍了 GitHub 的大部分功能与工作流程,但是任意一个小组或项目都会去自定义,因为他们想要创造或扩展想要整合的服务。 对我们来说很幸运的是,GitHub 在许多方面都真的很方便 Hack。 在本节中我们将会介绍如何使用 GitHub 钩子系统与 API 接口,使 GitHub 按照我们的设想来工作。 钩子 GitHub 仓库管理中的钩子与服务区块是 GitHub 与外部系统交互

  • 你可以在 Github 上为项目创建远程仓库。创建公开的远程仓库是免费的,私有仓库要收费。 任务 在 Github 网站申请一个帐号。 https://github.com 配置帐号的 ssh-key。 https://github.com/settings/keys ssh-key 在 Github 个人帐户里配置使用了 ssh-key,以后你往你的 Github 远程仓库推送的时候就不需要输入

  • 代码仓库 我们在GitHub上进行Tengine项目的开发:https://github.com/alibaba/tengine。 可以用git检出最新的Tengine代码: 参与开发 我们非常欢迎也很鼓励您在Tengine的项目的GitHub上报告issue或者pull request。 如果您还不熟悉GitHub的Fork and Pull开发模式,您可以阅读GitHub的文档(https:/

  • 类属性 $allowSignup 是否在登录页显示注册,默认false

  •   推荐大家使用 https://gitee.com 速度更快,项目直接部署、Android 自动构建! 私有库永久免费,提供手机客户端,国内首个同时支持 Git 和 SVN 的代码托管平台) 如何一键导入 Github 仓库:https://blog.gitee.com/2018/06/05/github_to_gitee/ GitHub 可以托管各种 git 库,并提供一个 Web 界面,但与