cakephp / cakephp/phinx

access to environment variable

Open
#1,701 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

support waiting on feedback
Dominant language
PHP
Stars
4.5k
Forks
884
PR merge metrics
No merged PRs in 30d

Description

Hello!
If i am use for migrate this command:
./vendor/bin/phinx migrate -e testing
Can i get value of "-e" option in ./phinx.php

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the migrate -e testing command handles the -e option and how ./phinx.php is loaded. Determine whether the selected environment can be accessed from that configuration file; done means the requested value is available there and the behavior is covered or clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
cli, databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.