Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 27 lines (23 sloc) 0.667 kb
562481f3 » lirazsiri
2010-08-15 Revert "internal command cli and regtest"
1 #!/usr/bin/python
767facb8 » lirazsiri
2012-08-08 cleanup whitespace
2 #
d740e7a7 » lirazsiri
2012-08-08 updated copyright year
3 # Copyright (c) 2010-2012 Liraz Siri <liraz@turnkeylinux.org>
767facb8 » lirazsiri
2012-08-08 cleanup whitespace
4 #
562481f3 » lirazsiri
2010-08-15 Revert "internal command cli and regtest"
5 # This file is part of TKLBAM (TurnKey Linux BAckup and Migration).
767facb8 » lirazsiri
2012-08-08 cleanup whitespace
6 #
562481f3 » lirazsiri
2010-08-15 Revert "internal command cli and regtest"
7 # TKLBAM is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU General Public License as
9 # published by the Free Software Foundation; either version 3 of
10 # the License, or (at your option) any later version.
767facb8 » lirazsiri
2012-08-08 cleanup whitespace
11 #
562481f3 » lirazsiri
2010-08-15 Revert "internal command cli and regtest"
12 """
13 Execute an internal command
14 """
15 import os
16 from cliwrapper import CliWrapper
17
18 import cmd_internals
19
20 class CliWrapper(CliWrapper):
21 DESCRIPTION = __doc__
22 PATH = cmd_internals.__path__
23
0b1c26e0 » lirazsiri
2012-08-07 bugfix: tklbam internal wrapper needs main() defined
24 main = CliWrapper.main
25
562481f3 » lirazsiri
2010-08-15 Revert "internal command cli and regtest"
26 if __name__ == "__main__":
27 CliWrapper.main()
28
29
Something went wrong with that request. Please try again.