base-template-cli-3.0.1
توضیحات
CLI tool of Base Template Repository.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | base-template-cli-3.0.1 |
| نام | base-template-cli |
| نسخه کتابخانه | 3.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | haru |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/base-template-cli/ |
| مجوز | - |
# Base Template CLI
[](https://github.com/haru52/base_template_cli/actions/workflows/test.yml)
[](https://github.com/haru52/base_template_cli/actions/workflows/release.yml)
[](https://github.com/haru52/base_template_cli/actions/workflows/github-code-scanning/codeql)
[](CODE_OF_CONDUCT.md)
[](https://commitizen.github.io/cz-cli/)
[](https://github.com/semantic-release/semantic-release)
## Overview
CLI tool of [Base Template Repository](https://github.com/haru52/base_template#readme).
## Requirements
| Tool | Version |
| ----------------------------------------------------------------------------------------------------------------------------------------- | --------------------- |
| [Base Template Repository](https://github.com/haru52/base_template) or its [Japanese version](https://github.com/haru52/base_template_ja) | ^7.8.0 or ^6.8.0 (ja) |
You have to clone either `base_template` or `base_template_ja` repo to your machine before using Base Template CLI.
```sh
git clone git@github.com:haru52/base_template.git
# or
git clone git@github.com:haru52/base_template_ja.git
```
## Installation
```sh
pip install base-template-cli
```
## Usage
```console
Usage: base-template-cli [OPTIONS] COMMAND [ARGS]...
Base Template CLI.
Options:
--version Show the version and exit.
-h, --help Show this message and exit.
Commands:
apply Apply (Copy) Base Template boilerplates to the destination repo.
```
```console
Usage: base-template-cli apply [OPTIONS]
BASE_TEMPLATE_ROOT_PATH
Apply (Copy) Base Template boilerplates to the destination repo.
Options:
-d, --dst TEXT Destination repo root path.
-t, --target-dirs TEXT Target directories to copy (e.g., .husky,
.github/ISSUE_TEMPLATE). If you don't specify this
option, this command copies all files of Base
Template to the destination repo. If you want to
copy only root files, use --only-root option.
-r, --only-root Copy only root directory files of Base Template
repo.
-l, --lang TEXT Language of Base Template. `en` or `ja`.
-h, --help Show this message and exit.
```
## Update
```sh
pip install -U base-template-cli
```
## Uninstall
```sh
pip uninstall base-template-cli
```
## Versioning policy
[Semantic Versioning 2.0.0](https://semver.org/spec/v2.0.0.html)
## License
[MIT](https://github.com/haru52/base_template_cli/blob/main/LICENSE)
## Contributing
[Contributing Guideline](https://haru52.github.io/base_template_cli/CONTRIBUTING.html)
<!-- vale Microsoft.Vocab = NO -->
## Documentation
[Documentation | base_template_cli](https://haru52.github.io/base_template_cli/)
## Author
<!-- vale Microsoft.Vocab = YES -->
[haru](https://haru52.com/)
نیازمندی
| مقدار | نام |
|---|---|
| - | click~=8.1 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| ~=3.11 | Python |
نحوه نصب
نصب پکیج whl base-template-cli-3.0.1:
pip install base-template-cli-3.0.1.whl
نصب پکیج tar.gz base-template-cli-3.0.1:
pip install base-template-cli-3.0.1.tar.gz