equal
deleted
inserted
replaced
9 import os |
9 import os |
10 import sys |
10 import sys |
11 |
11 |
12 from logilab.common import flatten |
12 from logilab.common import flatten |
13 from logilab.common.cli import CLIHelper |
13 from logilab.common.cli import CLIHelper |
14 from logilab.common.clcommands import BadCommandUsage, pop_arg |
14 from logilab.common.clcommands import BadCommandUsage, pop_arg, register_commands |
15 from cubicweb.toolsutils import CONNECT_OPTIONS, Command, register_commands |
15 from cubicweb.toolsutils import CONNECT_OPTIONS, Command |
16 |
16 |
17 # result formatter ############################################################ |
17 # result formatter ############################################################ |
18 |
18 |
19 PAGER = os.environ.get('PAGER', 'less') |
19 PAGER = os.environ.get('PAGER', 'less') |
20 |
20 |