Skip to content

Commit

Permalink
a bit of a README
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftkey committed Aug 25, 2016
1 parent 581e83c commit 989e3cf
Showing 1 changed file with 34 additions and 1 deletion.
35 changes: 34 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,35 @@
# git-kitchen-sink
Incorporate Git into your Electron application
## Incorporate Git into your Electron application

This is a skunkworks project to make using Git in your Electron application.

To get started: `npm install git-kitchen-sink --save`

And then reference it in your application:

```js
import { GitProcess, GitError, GitErrorCode } from 'git-kitchen-sink'

const pathToRepository = 'C:/path/to/git/repository/'

GitProcess.execWithOutput([ '--version' ], pathToRepository)
.then(output => {
// TODO: read version
})
.catch(error => {
// TODO: better error handling
})
```

Current features:

- package Git within your application
- make it easy to execute commands
- macOS and Window support

Potential Roadmap:

- an API for common Git operations
- Linux support
- handle authentication and environment setup
- ???

0 comments on commit 989e3cf

Please sign in to comment.