generated from entelecheia/hyperfast-python-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(cli): implement run_copy command
This commit adds the `run_copy` command to the CLI, which copies all configuration files from the configuration directory to the current working directory. It also includes new configuration files necessary to support the new command, such as the `cpconf.yaml` command configuration and `conf.yaml` copier configuration. Additionally, `__init__.yaml` task configuration was renamed to `about.yaml`.
- Loading branch information
1 parent
74be1dc
commit 0da557b
Showing
8 changed files
with
34 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# @package _global_ | ||
defaults: | ||
- /project: __init__ | ||
- /copier: conf | ||
|
||
_target_: hyfi.__cli__.run_copy | ||
copier: | ||
src_path: ${project.path.hyfi}/conf | ||
dst_path: conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Source path where to find the template. | ||
src_path: conf | ||
# Destination path where to render the template. | ||
dst_path: . | ||
# User-chosen additional file exclusion patterns. | ||
exclude: | ||
# User-chosen additional file skip patterns. | ||
skip_if_exists: false | ||
# Delete `dst_path` if there's an error? | ||
cleanup_on_error: false | ||
# When `True`, Overwrite files that already exist, without asking. | ||
overwrite: false | ||
# When `True`, produce no real rendering. | ||
dry_run: false | ||
# When `True`, show all output. | ||
verbose: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters