用于构建和维护juju charms的工具
charm-tools的Python项目详细描述
这是一个工具的集合,可以使书写juju咒语更容易。看朱朱的 主页了解更多信息。
安装
要运行最新的稳定版本,请使用:
sudo snap install charm --classic
您几乎肯定也希望安装juju:
sudo snap install juju --classic
如果要运行最新的预发行版本,可以使用 其他捕捉通道。例如:
sudo snap install charm --channel=edge
可用的频道有:稳定、候选、beta和edge。
Note: While charm-tools is also available on PyPI (for use as a Python dependency) and is generally kept up to date there with stable releases, the snap should always be used instead, if at all possible.
用法
要查看可用命令的列表,请使用:
charm help
最常用的命令是charm生命周期命令:
charm create # create a new charm charm build # build a charm using layers charm proof # validate a charm via the linter charm login # login to the charm store charm push # push a charm to the store charm release # release a pushed charm to the public charm show # show information about a charm in the store