0
据我了解,hubot help
命令应该列出基于每个脚本开始处的注释的所有命令。由于某些原因,它没有列出我的文件的帮助,任何人都可以发现错误?该评论应该包含在Hubot的文档中?
# Description:
# Hubot interface to octopus deploy
#
# Commands:
# hubot octo promote <project> from <env1> to <env2> - Hubot deploys the latest release of <project> on <env1> to <env2>
# hubot octo deploy <project> version <version> to <env> - Hubot deploys the specified version of <project> to <env>
# hubot octo status - Hubot prints a dashboard of environments and currently deployed versions.
#
# Author:
# kneumei
_ = require('underscore')._
q = require('q')
util = require('util')
....
完整的脚本是在这里:https://github.com/mastoj/hubot-octopus/blob/master/src/octopus.coffee