This document contains the help content for the pim
command-line program.
Command Overview:
pim
↴pim find
↴pim open
↴pim dir
↴pim list
↴pim run
↴pim new
↴pim info
↴pim info is-env
↴pim info property
↴pim completions
↴
Project Manager
Usage: pim [OPTIONS] <COMMAND>
find
— Find environments who match the filtersopen
— Open a environmnet (run theopen
script or open vscode in the environment directory)dir
— Show the directory of projectlist
— List projectsrun
— Run a scriptnew
— Create a new environmentinfo
— Get information about an environmentcompletions
—
-r
,--root <ROOT>
— The root folder with all environments to map and run commands
Find environments who match the filters
Usage: pim find [OPTIONS]
-
-n
,--name <NAME>
— Part of the environment name -
-l
,--language <LANGUAGE>
— Environment language -
-c
,--categories <CATEGORIES>
— Environment category -
-t
,--type <TYPE>
— Environment typePossible values:
folder
: Folder: an environment that groups other environmentsproject
: Project: an environment that runs and has source code and can be used alonesub-project
: Subproject: a part within a project, a module, a layer, a library, etc. an internal separation within a project
-
-m
,--max-depth <MAX_DEPTH>
— Maximum depth to find
Open a environmnet (run the open
script or open vscode in the environment directory)
Usage: pim open <ENVIRONMENT>
<ENVIRONMENT>
— Environmnet to open
Show the directory of project
Usage: pim dir <ENVIRONMENT>
<ENVIRONMENT>
— Name of the environment from which the directory will be geted
List projects
Usage: pim list [OPTIONS] [FOLDER]
<FOLDER>
— The folder to child environments
-
-s
,--style <STYLE>
— The style of outputDefault value:
tree
Possible values:
flat
: Print environment name line by linetree
: Print environment in treeby-language
: Print environment of each languageby-category
: Print environment of each category
-
-t
,--type <TYPE>
— Maximum environment type, subproject: print subproject, project and subproject, project: print subproject and project. folder: prints only foldersPossible values:
folder
: Folder: an environment that groups other environmentsproject
: Project: an environment that runs and has source code and can be used alonesub-project
: Subproject: a part within a project, a module, a layer, a library, etc. an internal separation within a project
-
-m
,--max-depth <MAX_DEPTH>
— Maximum folder depth to show
Run a script
Usage: pim run [OPTIONS] [SCRIPT] [-- <PARAMETERS>...]
<SCRIPT>
— Name of script<PARAMETERS>
— Parameters added to the end of the script
-s
,--show-list
— show list of scripts-e
,--environmnet <ENVIRONMNET>
— Environmnet where is the script
Create a new environment
Usage: pim new [OPTIONS] [TEMPLATE]
<TEMPLATE>
— template of environment
-p
,--path <PATH>
— Path to environment
Get information about an environment
Usage: pim info [OPTIONS] <COMMAND>
is-env
— Check if the path is within an environmentproperty
— get a property from the environment
-e
,--environment <ENVIRONMENT>
— Environment where the information will be obtained (if this and path are not specified, use the environment close to the root from the current folder)-p
,--path <PATH>
— Path to the environment (if--environment
is specified ignore, this will be ignored)
Check if the path is within an environment
Usage: pim info is-env
get a property from the environment
Usage: pim info property <PROPERTY>
-
<PROPERTY>
— The property to get of the environmentPossible values:
environment-type
,languages
,path
,description
,script-interpreter
,name
,directory
Usage: pim completions <SHELL>
-
<SHELL>
— The shell to generate the completions forPossible values:
bash
,elvish
,fig
,fish
,nushell
,powershell
,zsh
This document was generated automatically by
clap-markdown
.