Skip to content

Commit

Permalink
fix(hyfi): change command configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
entelecheia committed Jul 21, 2023
1 parent 1d9c15a commit 990ca36
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 deletions.
2 changes: 2 additions & 0 deletions src/hyfi/conf/cmd/__init__.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# @package _global_
_target_: hyfi.HyFI.run
5 changes: 4 additions & 1 deletion src/hyfi/conf/cmd/about.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# @package _global_
_target_: hyfi.__cli__.about
defaults:
- __init__

cmd_name: about
3 changes: 2 additions & 1 deletion src/hyfi/conf/cmd/copy_conf.yaml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion src/hyfi/conf/cmd/run_task.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# @package _global_
defaults:
- __init__
- /task: __init__

_target_: hyfi.__cli__.run_task
cmd_name: run_task
3 changes: 2 additions & 1 deletion src/hyfi/conf/cmd/run_workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# @package _global_
defaults:
- __init__
- /workflow: __init__

_target_: hyfi.__cli__.run_workflow
cmd_name: run_workflow
2 changes: 1 addition & 1 deletion src/hyfi/conf/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defaults:
- _self_
- about: __init__
- mode: __init__
- cmd: __init__
- cmd: null

- override hydra/help: help
- override hydra/hydra_logging: colorlog
Expand Down

0 comments on commit 990ca36

Please sign in to comment.