https://github.com/fabiospampinato/autogit-command-github-publish
A command for publishing repositores to GitHub.
https://github.com/fabiospampinato/autogit-command-github-publish
autogit command github publish
Last synced: 8 months ago
JSON representation
A command for publishing repositores to GitHub.
- Host: GitHub
- URL: https://github.com/fabiospampinato/autogit-command-github-publish
- Owner: fabiospampinato
- License: mit
- Archived: true
- Created: 2018-10-08T03:47:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-24T20:29:06.000Z (over 6 years ago)
- Last Synced: 2024-05-01T12:39:08.209Z (about 2 years ago)
- Topics: autogit, command, github, publish
- Language: TypeScript
- Size: 26.4 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
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