Commits

Sergey Astanin  committed 696dcee

add missing bitly-cli.cabal

  • Participants
  • Parent commits 1dde3c1
  • Tags bitly-cli-0.1.1

Comments (0)

Files changed (1)

File cli/bitly-cli.cabal

+Name:          bitly-cli
+Version:       0.1.1
+Cabal-version: >= 1.2
+Build-type:    Simple
+
+Stability:     experimental
+Category:      Web, Utils
+License:       BSD3
+License-file:  LICENSE
+Maintainer:    Sergey Astanin <s.astanin@gmail.com>
+Homepage:      http://bitbucket.org/jetxee/hs-bitly/
+Bug-reports:   http://bitbucket.org/jetxee/hs-bitly/issues/
+
+Synopsis: A command line tool to access bit.ly URL shortener.
+Description:
+  This package provides a command line utility to shorten
+  and expand URLs using bit.ly/j.mp service. To use this tool, an API
+  key is required. Please find yours at <http://bit.ly/account/>.
+  .
+  Configuration file (`~/.bitly`) format:
+  .
+  > login = your_bit.ly_login
+  > apikey = your_API_key
+  .
+  Usage examples:
+  .
+  > $ echo "Text with an URL: http://example.com/" | bitly
+  > Text with an URL: http://bit.ly/2eSq1z
+  > $ bitly shorten http://example.com
+  > http://bit.ly/2eSq1z
+  > $ bitly expand http://bit.ly/2eSq1z
+  > http://example.com/
+
+Executable bitly
+  Main-is:     bitly.hs
+  Build-depends:
+               Bitly >= 0.0.7
+             , base >= 3 && < 5
+             , filepath >= 1.1
+             , directory >= 1.0 && < 1.2
+             , regexpr >= 0.5 && < 0.6