← 返回命令列表

Linux command

proctl 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

proctl -ll

Example

proctl -lL

Pick

proctl -pl

Pick

proctl -pL

Remove

proctl -r

Example

proctl -t

Delete

proctl -R [@license_name]

说明

proctl manages project licenses and language configurations. It provides templated license management with interactive selection, making it easy to add or switch licenses in projects. The tool supports custom license templates and integrates with fzf for fuzzy selection of licenses and languages. Configuration is stored in ~/.config/license.conf (auto-generated on first launch or with -new-config).

参数

-i, -initialize
Set up a git repository for a project
-ll, -list-licenses
List all available license templates
-lL, -list-languages
List supported programming languages
-c, -current-license
Display the active project license
-pl, -pick-license
Interactive license selection via fzf
-pL, -pick-languages
Interactive language selection via fzf
-P, -preview-license
View a specific license template
-r, -remove-license
Remove licenses from current project
-sl, -search-license
Find licenses matching a query pattern
-sL, -search-language
Find languages matching a query pattern
-T, -template-help
Show template variable documentation
-t, -new-template
Create a new license or language template
-R, -delete-license
Remove one or more license templates from the system
-C, -new-config
Generate default configuration file
-k, -check-conflict
Detect conflicting license files
-h, -help
Display help information

FAQ

What is the proctl command used for?

proctl manages project licenses and language configurations. It provides templated license management with interactive selection, making it easy to add or switch licenses in projects. The tool supports custom license templates and integrates with fzf for fuzzy selection of licenses and languages. Configuration is stored in ~/.config/license.conf (auto-generated on first launch or with -new-config).

How do I run a basic proctl example?

Run `proctl -ll` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -i, -initialize do in proctl?

Set up a git repository for a project