alibaba/GraphScope
在 GitHub 查看enhance `gsctl` command by implementing sub-command `install-deps`
Open
#2,883 创建于 2023年6月14日
component:pythongood first issue
描述
Task as titled. It is migrating, rather than implementing.
Background: we are refactoring the existing command-line utility gs written in bash (with framework bashly), to Python-based gsctl with package click. A bootstrap is built here, some subcommands are still missing.
More specifically, for this task, we have it in gs before, the logic for install-deps are implemented in a bash here:
https://github.com/GraphScope/cli/blob/main/src/install_deps_command.sh (Ask Wang to grant if you do not have the authorization.)
In this task, please DO NOT reimplement it, but reuse this bash with minor revision:
- fulfill the subcommand
install-depsin here, and migrate the existing options here (L119-L168) - put
install_deps_command.shto https://github.com/alibaba/GraphScope/tree/main/python/graphscope/gsctl/scripts - parse and process the options with
clickingsctl.py, (refer to sub-commandmake), and invoke theinstall_deps_command.sh, please be aware that some minor revisions may in need in the .sh to process the parsing args. - make it works.