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

cli help does not mention "log" option #1495

Closed
staabm opened this issue Jan 8, 2018 · 4 comments
Closed

cli help does not mention "log" option #1495

staabm opened this issue Jan 8, 2018 · 4 comments

Comments

@staabm
Copy link
Contributor

staabm commented Jan 8, 2018

Q A
Issue Type Bug
Deployer Version 6.0.5
Local Machine OS N/A
Remote Machine OS N/A

Description

the "log" option is missing from the cli help

mstaab@mst16:/cluster/www/www/www/tools/dev/deploytest$ php  ../../deployer/bin/dep
Deployer master

Usage:
  command [options] [arguments]

Options:
  -h, --help               Display this help message
  -q, --quiet              Do not output any message
  -V, --version            Display this application version
      --ansi               Force ANSI output
      --no-ansi            Disable ANSI output
  -n, --no-interaction     Do not ask any interactive question
  -f, --file[=FILE]        Specify Deployer file
      --tag=TAG            Tag to deploy
      --revision=REVISION  Revision to deploy
      --branch=BRANCH      Branch to deploy
  -v|vv|vvv, --verbose     Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available commands:
  autocomplete        Install command line autocompletion capabilities
  cleanup             Cleaning up old releases
  help                Displays help for a command
  init                Initialize deployer in your project
  list                Lists commands
  rollback            Rollback to previous release
  run                 Run any arbitrary command on hosts
  ssh                 Connect to host through ssh
 config
  config:current      Show current paths
  config:dump         Print host configuration
  config:hosts        Print all hosts
 deploy
  deploy:clear_paths  Cleaning up files and/or directories
  deploy:copy_dirs    Copy directories
  deploy:lock         Lock deploy
  deploy:prepare      Preparing host for deploy
  deploy:release      Prepare release. Clean up unfinished releases and prepare next release
  deploy:shared       Creating symlinks for shared files and dirs
  deploy:symlink      Creating symlink to release
  deploy:unlock       Unlock deploy
  deploy:update_code  Update code
  deploy:vendors      Installing vendors
  deploy:writable     Make writable dirs
@staabm
Copy link
Contributor Author

staabm commented Jan 8, 2018

the cause of this problem is that the log option is implemented via getopt() not natively via symfony console options, see

#1479 (comment)

@vkhramtsov
Copy link

Is this issue still valid? I see log options implemented via symfony console and no log options via getopt. Log option defined when you trying to view help of some tasks

@colinodell
Copy link
Contributor

I can confirm the --log option appears when using dep help deploy:

image

@staabm
Copy link
Contributor Author

staabm commented Mar 9, 2019

Seems to be fixed in the meantime, thx

@staabm staabm closed this as completed Mar 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants