diff options
author | Brian Dolbec <brian.dolbec@gmail.com> | 2011-01-16 22:57:58 -0800 |
---|---|---|
committer | Brian Dolbec <brian.dolbec@gmail.com> | 2011-02-12 19:48:26 -0800 |
commit | 7aa228d25d1fb1f1343f9cddb187a84bc1cd5a50 (patch) | |
tree | aa62aca8d500ef4f5967c0e6a27353ddcdcb1086 /bin | |
parent | overhaul the api, add several functions, delay loading of the db's, etc (diff) | |
download | layman-7aa228d25d1fb1f1343f9cddb187a84bc1cd5a50.tar.gz layman-7aa228d25d1fb1f1343f9cddb187a84bc1cd5a50.tar.bz2 layman-7aa228d25d1fb1f1343f9cddb187a84bc1cd5a50.zip |
create a new cli interface to use the new api
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/layman | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -7,11 +7,13 @@ # Copyright: # (c) 2005 Gunnar Wrobel # (c) 2009 Sebastian Pipping +# (c) 2011 Brian Dolbec # Distributed under the terms of the GNU General Public License v2 # # Author(s): # Gunnar Wrobel <wrobel@gentoo.org> # Sebastian Pipping <sebastian@pipping.org> +# Brian Dolbec <brian.dolbec@gmail.com> # __version__ = "$Id$" @@ -23,7 +25,7 @@ __version__ = "$Id$" #------------------------------------------------------------------------------- from layman.config import ArgsParser -from layman.action import main +from layman.cli import Main #=============================================================================== # @@ -31,4 +33,5 @@ from layman.action import main # #------------------------------------------------------------------------------- -main(ArgsParser()) +main = Main(ArgsParser()) +main() |