Closed raff closed 4 years ago
A current build returns the following warning message when run:
DEPRECATED Action signature. Must be cli.ActionFunc. This is an error in the application. Please contact the distributor of this application if this is not you. See https://github.com/urfave/cli/blob/master/CHANGELOG.md#deprecated-cli-app-action-signature
cli.ActionFunc
It seems that the definition of Action methods has changed and you now need to return an error: Action: func (c *cli.context) error {}
Thanks very much! I'll fix this tomorrow.
Apologies for delay. Looks like it's worth updating the whole project slightly, to the latest and greatest Go CLI structure. Working on it..
Resolved by #31
A current build returns the following warning message when run:
DEPRECATED Action signature. Must be
cli.ActionFunc
. This is an error in the application. Please contact the distributor of this application if this is not you. See https://github.com/urfave/cli/blob/master/CHANGELOG.md#deprecated-cli-app-action-signatureIt seems that the definition of Action methods has changed and you now need to return an error: Action: func (c *cli.context) error {}