Loading TQL +2 −2 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ seblu> list a-con #list disconnected account - TQL is a list statement mixed by separators - TQL build his object list from left to right (left parenthesis) - Each statement update the builded list regarding his separators - Selecting, sorting and choosing separators are followed by tags - Selecting, sorting and showing separators are followed by tags - Limiting separators are followed by limiting conditions - TQL always return id tag - By default separators is & Loading @@ -47,7 +47,7 @@ seblu> list a-con #list disconnected account & selection intersection | selection union ^ selection limit $ tag choosing $ tag showing % tag sorting == tags operators == Loading cccli/handler.py +2 −0 Original line number Diff line number Diff line Loading @@ -23,10 +23,12 @@ class CliHandler(RpcHandler): @pure def quit(self, rpc=None): '''Call back function on server disconnect''' Printer().fatal("Disconnected from server!") @pure def get_tags(self, complete=None, partial=None): '''Return a dict of local tags''' # prepare work taglist = [ x[8:] for x in dir(self) if x.startswith("get_tag_") ] ctag = set(taglist) if complete is None else set(complete) Loading Loading
TQL +2 −2 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ seblu> list a-con #list disconnected account - TQL is a list statement mixed by separators - TQL build his object list from left to right (left parenthesis) - Each statement update the builded list regarding his separators - Selecting, sorting and choosing separators are followed by tags - Selecting, sorting and showing separators are followed by tags - Limiting separators are followed by limiting conditions - TQL always return id tag - By default separators is & Loading @@ -47,7 +47,7 @@ seblu> list a-con #list disconnected account & selection intersection | selection union ^ selection limit $ tag choosing $ tag showing % tag sorting == tags operators == Loading
cccli/handler.py +2 −0 Original line number Diff line number Diff line Loading @@ -23,10 +23,12 @@ class CliHandler(RpcHandler): @pure def quit(self, rpc=None): '''Call back function on server disconnect''' Printer().fatal("Disconnected from server!") @pure def get_tags(self, complete=None, partial=None): '''Return a dict of local tags''' # prepare work taglist = [ x[8:] for x in dir(self) if x.startswith("get_tag_") ] ctag = set(taglist) if complete is None else set(complete) Loading