-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
The command prints out the environment variables set after executing the bash command 'environment' from the manifest. It echos the variables that are new; thus for being able to do so it will have to compare the original environment with the modified environment and only print out variables that changed.
USAGE: $(phapp environment) custom-command
If --verbose is passed, it should also print out the executed command - as done by default by the /bin/bash prefix https://github.com/drunomics/phapp-cli/blob/master/src/Task/Exec.php#L68
The optional parameter "--show-command" makes phapp show the command instead of outputting the variables. Thus can be used as following:
eval $(phapp environment --show-command)
Metadata
Metadata
Assignees
Labels
No labels