The base zendev entity is the environment. An environment represents:
The path to the current environment is always readily accessible:
# Prints path to the root of the environment
zendev root
# Create a new zendev environment at $PWD/ENVIRONMENT
zendev init ENVIRONMENT
# List all environments. The current one will be indicated with an
# asterisk.
zendev ls
# Switch to the environment named ENVIRONMENT
zendev use ENVIRONMENT
Using an environment will:
# Delete an environment from zendev config, but leave files
zendev drop ENVIRONMENT
# Delete an environment and all files
zendev drop --purge ENVIRONMENT