factorial-io / phabalicious

Supports your deployments and every-day devops-tasks
http://docs.phab.io
MIT License
18 stars 3 forks source link

notify channel option does not accept a value #261

Closed mikran closed 2 years ago

mikran commented 2 years ago

I was looking for a way to direct some notifications to a different channel, and command is not working the way it is documented.

Docs says that syntax is:

phab -cmbb notify "test" "kubernetes"

but that gives

Too many arguments, expected arguments "command" "message".

phab notify --help

describes syntax as

Description:
  Will send a notification

Usage:
  notify [options] [--] <message>

Arguments:
  message                          The message to send

Options:
  ...
  -4, --channel
  ...

and running it like that gives

phab -cmbb notify --channel="kubernetes" -- "test"

The "--channel" option does not accept a value.

stmh commented 2 years ago

part of 3.7.8