Pet: Project Environment Tool¶
Quickstart¶
Installation¶
To install Pet, open an interactive shell and run:
bash -c "$(curl -fsSL https://raw.githubusercontent.com/limebrains/pet/master/install.bash)"
Or to specify installation directory and type of shell:
bash -c "shell='bash_or_zsh';install_dir='absolute_path';$(curl -fsSL https://raw.githubusercontent.com/limebrains/pet/master/install.bash)"
Using Pet¶
To start using Pet, you need to first create a project:
$ pet init
Note
If name for new project is not passed Pet uses current directory name.
To use custom name invoke it with pet init -n chosen_name
It will edit two files start.sh and stop.sh which commands are going to be executed accordingly during start of project and after closing
If you want to start project:
pet project_name
Now you are in subshell created using your standard files (like .bashrc or .profile) and start.sh
User Guide¶
Here you can read more about how Pet works.
This part provides examples of use and explores all Pet commands and its possibilities.