Added CLI interface to trsync
Added an interface based on cliff to call push/remove commands.
Change-Id: Ic308974da577386c975a96fb1edb259175601680
diff --git a/setup.cfg b/setup.cfg
index bd94c2d..6bad8ba 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,6 @@
[metadata]
name = trsync
+version = 0.5
summary = rsync wrapper that implements transactional synchronization with remote location
description-file =
README.rst
@@ -43,4 +44,17 @@
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
-output_file = trsync/locale/trsync.pot
\ No newline at end of file
+output_file = trsync/locale/trsync.pot
+
+[entry_points]
+console_scripts =
+ trsync=trsync.cmd.cli:main
+
+trsync =
+ push = trsync.cmd.cli:PushCmd
+ remove = trsync.cmd.cli:RemoveCmd
+
+[global]
+setup-hooks =
+ pbr.hooks.setup_hook
+ setup_hooks.setup_hook