ymp.cli package¶
-
ymp.cli.
install_completion
(ctx, attr, value)[source]¶ Installs click_completion tab expansion into users shell
Submodules¶
ymp.cli.env module¶
ymp.cli.make module¶
Implements subcommands for ymp make
and ymp submit
-
class
ymp.cli.make.
TargetParam
[source]¶ Bases:
click.types.ParamType
Handles tab expansion for build targets
-
exception
ymp.cli.make.
YmpConfigNotFound
[source]¶ Bases:
ymp.exceptions.YmpException
Exception raised by YMP if no config was found in current path
ymp.cli.show module¶
Implements subcommands for ymp show
-
class
ymp.cli.show.
ConfigPropertyParam
[source]¶ Bases:
click.types.ParamType
Handles tab expansion for
ymp show
arguments-
complete
(_ctx, incomplete)[source]¶ Try to complete incomplete command
This is executed on tab or tab-tab from the shell
- Parameters
ctx – click context object
incomplete – last word in command line up until cursor
- Returns
list of words incomplete can be completed to
-
convert
(value, param, ctx)[source]¶ Convert value of param given context
- Parameters
value – string passed on command line
param – click parameter object
ctx – click context object
-
property
properties
¶ Find properties offered by ConfigMgr
-