# autogit-command-github-publish

> A command for publishing repositores to GitHub.

Latest version **1.0.3** (published 2018-12-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install autogit-command-github-publish
pnpm add autogit-command-github-publish
yarn add autogit-command-github-publish
bun add autogit-command-github-publish
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2018-12-06 |
| First published | 2018-10-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 9.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Fabio Spampinato |
| Maintainers | fabiospampinato |
| Keywords | autogit, command, github, publish |

## Links

- npm: https://www.npmjs.com/package/autogit-command-github-publish
- Repository: https://github.com/fabiospampinato/autogit-command-github-publish
- Homepage: https://github.com/fabiospampinato/autogit-command-github-publish#readme
- Issues: https://github.com/fabiospampinato/autogit-command-github-publish/issues
- npm.io page: https://npm.io/package/autogit-command-github-publish

## Dependencies (7)

- [lodash](https://npm.io/package/lodash.md) ^4.17.11
- [minimist](https://npm.io/package/minimist.md) ^1.2.0
- [@types/node](https://npm.io/package/@types/node.md) ^10.12.8
- [autogit-plugin-push](https://npm.io/package/autogit-plugin-push.md) ^1.0.2
- [autogit-plugin-github-publish](https://npm.io/package/autogit-plugin-github-publish.md) ^1.0.2
- [autogit-plugin-github-sync-keywords](https://npm.io/package/autogit-plugin-github-sync-keywords.md) ^1.0.2
- [autogit-plugin-github-sync-description](https://npm.io/package/autogit-plugin-github-sync-description.md) ^1.0.2

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2018-12-06
- 1.0.2 — 2018-11-12
- 1.0.1 — 2018-10-11
- 1.0.0 — 2018-10-08

## README

# Autogit Command - Github Publish

A command for publishing repositores to GitHub.

## Install

```sh
npm install --save autogit-command-github-publish
```

## Usage

#### Options

This command uses the following options object:

```js
{
  remote: 'origin', // Using this name for the newly created repository
  token: '', // GitHub token
  message: 'Initial commit', // Commit message for the initial commit, set it to false to disable this
  force: false, // Don't ask for confirmation
  private: false, // Don't publish as private
  ssh: true // Use SSH rather than HTTPS
}
```

#### Configuration

Add this command to your configuration:

```js
const githubPublish = require ( 'autogit-command-github-publish' );

module.exports = {
  commands: {
    'github-publish': githubPublish ({ /* YOUR OPTIONS */ })
  }
}
```

#### CLI

Call it from the CLI with:

```sh
autogit github-publish
```

## License

MIT © Fabio Spampinato

---
_Source: https://npm.io/package/autogit-command-github-publish · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
