feat: add --config option to read host.yaml for deploy#99
Open
zhaoshanren8808-ship-it wants to merge 1 commit intoopenonion:mainfrom
Open
feat: add --config option to read host.yaml for deploy#99zhaoshanren8808-ship-it wants to merge 1 commit intoopenonion:mainfrom
zhaoshanren8808-ship-it wants to merge 1 commit intoopenonion:mainfrom
Conversation
- Add --config/-c option to deploy command to specify config file - Add _load_host_config() function to parse host.yaml - Support reading entrypoint from host.yaml - Support reading project name from host.yaml summary - Update LLM-Note with yaml dependency
Author
📋 审核请求PR 状态
请求此 PR 已准备好合并,请求仓库管理员审核批准。 审核要点
测试建议# 测试默认配置
co deploy
# 测试自定义配置
co deploy --config my-config.yaml请求审核: 2026-03-02 |
Author
🔄 PR Ready for ReviewThis PR has been open and is ready for review. Summary:
Requesting review from maintainers. Thanks! 🙏 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add --config/-c option to
co deploycommand to support reading host.yaml configuration file for seamless deployment.Changes
Add --config option to deploy command in main.py
Add host.yaml parsing in deploy_commands.py
_load_host_config()function to parse YAMLDependencies
Usage
host.yaml Example
Testing
Closes #80