comparison frontends/src/jp/base.py @ 2114:dc5d214f0a3b

jp (info/session): added a command to get data on current session
author Goffi <goffi@goffi.org>
date Thu, 05 Jan 2017 22:22:26 +0100
parents e0066920a661
children 469702b46768
comparison
equal deleted inserted replaced
2113:9c861d07b5b6 2114:dc5d214f0a3b
510 """Initialise CommandBase 510 """Initialise CommandBase
511 511
512 @param host: Jp instance 512 @param host: Jp instance
513 @param name(unicode): name of the new command 513 @param name(unicode): name of the new command
514 @param use_profile(bool): if True, add profile selection/connection commands 514 @param use_profile(bool): if True, add profile selection/connection commands
515 @param use_output(bool, dict): if not False, add --output option 515 @param use_output(bool, unicode): if not False, add --output option
516 @param need_connect(bool, None): True if profile connection is needed 516 @param need_connect(bool, None): True if profile connection is needed
517 False else (profile session must still be started) 517 False else (profile session must still be started)
518 None to set auto value (i.e. True if use_profile is set) 518 None to set auto value (i.e. True if use_profile is set)
519 Can't be set if use_profile is False 519 Can't be set if use_profile is False
520 @param help(unicode): help message to display 520 @param help(unicode): help message to display