From 990ca36b146a7f289cb43a05c5edab1b48d6c295 Mon Sep 17 00:00:00 2001 From: Young Joon Lee Date: Fri, 21 Jul 2023 11:22:13 +0900 Subject: [PATCH] fix(hyfi): change command configurations --- src/hyfi/conf/cmd/__init__.yaml | 2 ++ src/hyfi/conf/cmd/about.yaml | 5 ++++- src/hyfi/conf/cmd/copy_conf.yaml | 3 ++- src/hyfi/conf/cmd/run_task.yaml | 3 ++- src/hyfi/conf/cmd/run_workflow.yaml | 3 ++- src/hyfi/conf/config.yaml | 2 +- 6 files changed, 13 insertions(+), 5 deletions(-) diff --git a/src/hyfi/conf/cmd/__init__.yaml b/src/hyfi/conf/cmd/__init__.yaml index e69de29b..97d20ec6 100644 --- a/src/hyfi/conf/cmd/__init__.yaml +++ b/src/hyfi/conf/cmd/__init__.yaml @@ -0,0 +1,2 @@ +# @package _global_ +_target_: hyfi.HyFI.run diff --git a/src/hyfi/conf/cmd/about.yaml b/src/hyfi/conf/cmd/about.yaml index a2623e07..9866e394 100644 --- a/src/hyfi/conf/cmd/about.yaml +++ b/src/hyfi/conf/cmd/about.yaml @@ -1,2 +1,5 @@ # @package _global_ -_target_: hyfi.__cli__.about +defaults: + - __init__ + +cmd_name: about diff --git a/src/hyfi/conf/cmd/copy_conf.yaml b/src/hyfi/conf/cmd/copy_conf.yaml index fa9bb196..f82237f8 100644 --- a/src/hyfi/conf/cmd/copy_conf.yaml +++ b/src/hyfi/conf/cmd/copy_conf.yaml @@ -1,8 +1,9 @@ # @package _global_ defaults: + - __init__ - /copier: __init__ -_target_: hyfi.__cli__.run_copy +cmd_name: copy_conf copier: src_path: ${__hyfi_path__:}/conf dst_path: workpsace/tmp/conf diff --git a/src/hyfi/conf/cmd/run_task.yaml b/src/hyfi/conf/cmd/run_task.yaml index ab678574..25b928ce 100644 --- a/src/hyfi/conf/cmd/run_task.yaml +++ b/src/hyfi/conf/cmd/run_task.yaml @@ -1,5 +1,6 @@ # @package _global_ defaults: + - __init__ - /task: __init__ -_target_: hyfi.__cli__.run_task +cmd_name: run_task diff --git a/src/hyfi/conf/cmd/run_workflow.yaml b/src/hyfi/conf/cmd/run_workflow.yaml index f65ab0d7..ff86cd25 100644 --- a/src/hyfi/conf/cmd/run_workflow.yaml +++ b/src/hyfi/conf/cmd/run_workflow.yaml @@ -1,5 +1,6 @@ # @package _global_ defaults: + - __init__ - /workflow: __init__ -_target_: hyfi.__cli__.run_workflow +cmd_name: run_workflow diff --git a/src/hyfi/conf/config.yaml b/src/hyfi/conf/config.yaml index 34e51c36..f7f469de 100644 --- a/src/hyfi/conf/config.yaml +++ b/src/hyfi/conf/config.yaml @@ -3,7 +3,7 @@ defaults: - _self_ - about: __init__ - mode: __init__ - - cmd: __init__ + - cmd: null - override hydra/help: help - override hydra/hydra_logging: colorlog