Name

lgtenv - Logtalk script for creating packs virtual environments

Synopsis

lgtenv -v
lgtenv [-d directory] [-c] [-p packs]
lgtenv -h

Description

lgtenv is a Logtalk script for creating packs virtual environments. It works by activating a LOGTALKPACKS environment variable when changing the current directory to the directory where the virtual environment was created. To use the virtual environment, start Logtalk from the directory where the virtual environment was created.

Options

-d Directory where to create the virtual environment. Absolute path. Default is the current directory.

-c Create directory if it does not exist.

-p Packs sub-directory. Relative path. Default is the current directory.

Requirements

Requires direnv to be installed (see https://github.com/direnv/direnv).

Environment

LOGTALKHOME Specifies the location of the Logtalk installation.

LOGTALKUSER Specifies the location of the Logtalk user directory.

See also

The Logtalk website at https://logtalk.org/

The Logtalk User and Reference Manuals at $LOGTALKHOME/manuals/index.html

Author

Paulo Moura <pmoura@logtalk.org>

Copyright

Copyright (c) 2023-2024 Paulo Moura.

This HTML page was made with roffit.