Branching Prompt¶
CLI for conflict solving¶
Launch the interactive prompt and call the related commands
-
class
orion.core.io.interactive_commands.branching_prompt.
BranchingPrompt
(branch_builder)[source]¶ Interactive command prompt to solve the configurations conflicts between the parent configuration and the new one.
Methods
cmdloop
()Start cmdloop of the prompt complete_add
(text, line, begidx, endidx)Auto-complete addition of new or changed dimensions complete_code
(text, line, begidx, endidx)Auto-complete based on possible code change types complete_commandline
(text, line, begidx, endidx)Auto-complete based on possible commandline change types complete_config
(text, line, begidx, endidx)Auto-complete based on possible script config change types complete_name
(text, line, begidx, endidx)Auto-completion of experiment name based on names in the EVC three. complete_remove
(text, line, begidx, endidx)Auto-complete deletion of missing dimensions complete_rename
(text, line, begidx, endidx)Auto-complete rename based on non-resolved missing dimensions and new dimensions conflicts complete_reset
(text, line, begidx, endidx)Auto-complete reset based on current resolutions do_abort
(options)Exit the prompt without saving do_add
(options)Add the given new or changed dimension to the configuration do_algo
(options)Resolve the algorithm conflict do_auto
(options)Automatically solve conflicts when no feedback from user is necessary. do_code
(options)Set the type of the code change do_commandline
(options)Set the type of the commandline change do_commit
(options)Exit the prompt and creates the adapters inside the builders do_config
(options)Set the type of the commandline change do_diff
(options)Print diff for all conflicts do_h
(options)Alias for help do_help
(options)Print help message for all commands do_name
(options)Change the name of the experiment do_orion_version
(options)Resolve the orion version conflict do_q
(options)Alias for quit do_quit
(options)Exit the prompt without saving do_remove
(options)Remove the given missing dimension from the configuration do_rename
(options)Rename a dimension do_reset
(options)Revert a resolution and mark the conflict as non-resolved do_shell
(line)Run a shell command. do_status
(options)Display the current status of the conflicting configuration get_commands
()Get command names of the prompt get_status
([options])Return a string representing the status solve_conflicts
()Start the prompt for the interactive conflicts solving -
complete_add
(text, line, begidx, endidx)[source]¶ Auto-complete addition of new or changed dimensions
-
complete_code
(text, line, begidx, endidx)[source]¶ Auto-complete based on possible code change types
-
complete_commandline
(text, line, begidx, endidx)[source]¶ Auto-complete based on possible commandline change types
-
complete_config
(text, line, begidx, endidx)[source]¶ Auto-complete based on possible script config change types
-
complete_name
(text, line, begidx, endidx)[source]¶ Auto-completion of experiment name based on names in the EVC three.
-
complete_rename
(text, line, begidx, endidx)[source]¶ Auto-complete rename based on non-resolved missing dimensions and new dimensions conflicts
-