Skip to content

chore: bump kpm init to kcl mod init #361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ KCL 模块按目录层次结构布置配置。它包含了确定 KCL 配置结
可以通过在模块根目录中运行以下命令来创建模块:

```bash
kpm init [module name]
kcl mod init [module name]
```

模块名在需要在模块内导入另一个模块的包时是**必需的**。也可以通过手动设置 `kcl.mod` 文件来创建模块。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ kcl mod init my_package
kcl mod init
```

关于如何使用 kpm init 的更多信息,请参阅 [kcl mod init](https://kcl-lang.io/zh-CN/docs/tools/cli/package-management/command-reference/init)。
关于如何使用 kcl mod init 的更多信息,请参阅 [kcl mod init](https://kcl-lang.io/zh-CN/docs/tools/cli/package-management/command-reference/init)。

### 2. 推送 kcl 包

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ kcl mod init my_package
kcl mod init
```

关于如何使用 kpm init 的更多信息,请参阅 [kcl mod init](https://kcl-lang.io/zh-CN/docs/tools/cli/package-management/command-reference/init)。
关于如何使用 kcl mod init 的更多信息,请参阅 [kcl mod init](https://kcl-lang.io/zh-CN/docs/tools/cli/package-management/command-reference/init)。

### 2. 推送 kcl 包

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ KCL 模块按目录层次结构布置配置。它包含了确定 KCL 配置结
可以通过在模块根目录中运行以下命令来创建模块:

```bash
kpm init [module name]
kcl mod init [module name]
```

模块名在需要在模块内导入另一个模块的包时是**必需的**。也可以通过手动设置 `kcl.mod` 文件来创建模块。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ kcl mod init my_package
kcl mod init
```

关于如何使用 kpm init 的更多信息,请参阅 [kcl mod init](https://kcl-lang.io/zh-CN/docs/tools/cli/package-management/command-reference/init)。
关于如何使用 kcl mod init 的更多信息,请参阅 [kcl mod init](https://kcl-lang.io/zh-CN/docs/tools/cli/package-management/command-reference/init)。

### 2. 推送 kcl 包

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ KCL 模块按目录层次结构布置配置。它包含了确定 KCL 配置结
可以通过在模块根目录中运行以下命令来创建模块:

```bash
kpm init [module name]
kcl mod init [module name]
```

模块名在需要在模块内导入另一个模块的包时是**必需的**。也可以通过手动设置 `kcl.mod` 文件来创建模块。
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ kcl mod init my_package
kcl mod init
```

关于如何使用 kpm init 的更多信息,请参阅 [kcl mod init](https://kcl-lang.io/zh-CN/docs/tools/cli/package-management/command-reference/init)。
关于如何使用 kcl mod init 的更多信息,请参阅 [kcl mod init](https://kcl-lang.io/zh-CN/docs/tools/cli/package-management/command-reference/init)。

### 2. 推送 kcl 包

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ A KCL module contains a configuration laid out in a directory hierarchy. It cont
A module can be created by running the following command within the module root:

```bash
kpm init [module name]
kcl mod init [module name]
```

The module name is **required** if a package within the module needs to import another package within the module. A module can also be created by setting up the `kcl.mod` file manually.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ A KCL module contains a configuration laid out in a directory hierarchy. It cont
A module can be created by running the following command within the module root:

```bash
kpm init [module name]
kcl mod init [module name]
```

The module name is **required** if a package within the module needs to import another package within the module. A module can also be created by setting up the `kcl.mod` file manually.
Expand Down
Loading