Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
fujimura committed Jun 15, 2014
1 parent 4bcdcde commit 0a448ad
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ A Git subcommand to show total addition, deletion per file

## Installation

Please note: not yet released. Just a future plan.

```
$ cabal install git-freq
```
Expand Down Expand Up @@ -44,4 +42,8 @@ cabal configure --enable-tests && cabal build && cabal test

## Contributing

TODO: Write contribution instructions here
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
6 changes: 5 additions & 1 deletion src/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ config = Config
(long "version" <> short 'v' <> help "Show version")
<*> many
(argument str (metavar "PATH..." <> help "Target paths"))

main :: IO ()
main = do
(Config showVersion paths) <- execParser opts
Expand All @@ -24,5 +25,8 @@ main = do
where
opts = info (helper <*> config)
( fullDesc
-- <> progDesc "Show frequently changed code in the repository"
<> progDesc (unlines [ "Total addition, deletion per file will be shown as a csv in following format:"
, "`file name, addition, deletion`"
])

<> header "git-freq - Show frequently changed code in the repository")

0 comments on commit 0a448ad

Please sign in to comment.