Overview
lolpop comes equipped with a CLI tool that is a swiss army knife with many different uses. Among its key capabilities are:
-
The ability to run lolpop workflows in an operational capacity.
-
Generating extension templates.
-
Automatically generating tests and documentations for extensions.
-
Testing workflows given proper testing configuration.
-
Running arbitrary custom CLI extensions.
... and more! As you can install your own CLI extensions to use with the lolpop CLI, the sky is really the limit to what you can accomplish with the lolpop CLI.
Installing¶
The lolpop CLI is installable as a lolpop extra package. In particular, you'll want to run the following:
pip3 install `lolpop[cli]`
You can verify that installation was successful via:
lolpop --version
Troubleshooting¶
Assuming you successfully pip installed lolpop and you expect lolpop --version
to work, it's disheartening to see an error message like:
> lolpop --version
Traceback (most recent call last):
File "/Users/jordanvolz/venv/lolpop/bin/lolpop", line 3, in <module>
from lolpop.cli.cli import app
ModuleNotFoundError: No module named 'lolpop'
which python3
.
In the event that you get a command not found error for lolpop, ala:
> lolpop --version
zsh: command not found: lolpop
This is likely an indication that lolpop was installed into a directory that is not on your system PATH
. To troubleshoot, check echo $PATH
to see what directories are searched by default and you can use the find
command to figure out where lolpop was installed (i.e. find / -name lolpop
) -- although it's very likely that lolpop will be installed user /usr/bin
, /usr/bin/local
, or in the path of a virtual envrionment. Once you've identified the discrepency, either update your PATH
variable in your ~/.bash.rc
file or add an alias for lolpop.
In this Section¶
-
CLI User Guide: User Guide for using the CLI.
-
CLI Reference: Reference documentation for using the CLI.
Also see:
- CLI Extensions: Documentation on using CLI extensions.