An open API service indexing awesome lists of open source software.

https://github.com/nflaig/github-init-cli

Create remote and local git repository
https://github.com/nflaig/github-init-cli

cli create git github

Last synced: 4 months ago
JSON representation

Create remote and local git repository

Awesome Lists containing this project

README

          

# github-init-cli

Create remote and local git repository

[![npm package][npm-version-badge]][npm-package]

## Install

```sh
$ npm install -g github-init-cli
```

## Usage

Log in with your GitHub username and [personal access token][personal-access-tokens] (will be persisted locally).
Make sure that the access token has permissions (`repo`, `delete_repo`) to create (required) and delete (optional) repositories.

```sh
$ github login
```

Set custom working directory (default: `~/github`)

```sh
$ github setwd
```

Create remote and local git repository

```sh
$ github create
```

If installed, the project will be opened with [VS Code][vs-code].

## Contributing

[![contributions welcome][contributions-badge]][issues]

## License

This project is licensed under the MIT license. See the [LICENSE](LICENSE) file for more info.

[issues]: https://github.com/nflaig/github-init-cli/issues
[npm-package]: https://www.npmjs.com/package/github-init-cli
[npm-version-badge]: https://badge.fury.io/js/github-init-cli.svg
[contributions-badge]: https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat
[personal-access-tokens]: https://github.com/settings/tokens
[vs-code]: https://code.visualstudio.com/