Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color message like the update tools #728

Merged
merged 2 commits into from
Jul 22, 2013
Merged

Color message like the update tools #728

merged 2 commits into from
Jul 22, 2013

Conversation

armetiz
Copy link
Contributor

@armetiz armetiz commented Jul 19, 2013

No description provided.

@doctrinebot
Copy link

Hello,

thank you for creating this pull request. I have automatically opened an issue
on our Jira Bug Tracker for you. See the issue link:

http://www.doctrine-project.org/jira/browse/DDC-2559

We use Jira to track the state of pull requests and the versions they got
included in.

$output->writeln(sprintf('The Schema-Tool would execute <info>"%s"</info> queries to update the database.', count($sqls)));
$output->writeln('Please run the operation by passing one - or both - of the following options:');

$output->writeln(sprintf(' <info>%s --force</info> to execute the command', $this->getName()));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this already work with <CLI> help orm:schema-tool:drop ? Seems like a repetition here...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In fact, this is the same message, but with color around "num" queries, and options.

Without this PR,
DropCommand & UpdateCommand display the same content, but the presentation isn't the same..

@armetiz
Copy link
Contributor Author

armetiz commented Jul 22, 2013

Right now, the CLI is like that :

  • [Update Tool]
  • [Drop Tool]

@Ocramius
Copy link
Member

Enough running around such a trivial one: goes in :)

Ocramius added a commit that referenced this pull request Jul 22, 2013
Color message like the update tools
@Ocramius Ocramius merged commit 4bc8f7b into doctrine:master Jul 22, 2013
@armetiz armetiz deleted the patch-1 branch July 22, 2013 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants