コード例 #1
0
ファイル: plugin_add.py プロジェクト: boundary/pulse-api-cli
 def add_arguments(self):
     PluginBase.add_arguments(self)
     self.parser.add_argument('-o', '--organization-name', dest='organizationName', action='store',
                              required=True, metavar="organization_name",
                              help='Name of the GitHub user or organization')
     self.parser.add_argument('-r', '--repository-name', dest='repositoryName', action='store',
                              required=True, metavar="repository_name",
                              help='Name of the GitHub repository')
コード例 #2
0
 def add_arguments(self):
     PluginBase.add_arguments(self)
     self.parser.add_argument(
         '-o',
         '--organization-name',
         dest='organizationName',
         action='store',
         required=True,
         metavar="organization_name",
         help='Name of the GitHub user or organization')
     self.parser.add_argument('-r',
                              '--repository-name',
                              dest='repositoryName',
                              action='store',
                              required=True,
                              metavar="repository_name",
                              help='Name of the GitHub repository')
コード例 #3
0
 def add_arguments(self):
     PluginBase.add_arguments(self)
     self.parser.add_argument('-d', '--remove-Dashes', dest='removeDashes', action='store_true',
                              help='Remove dashboards associated with the plugin')
     self.parser.add_argument('-r', '--remove-Metrics', dest='removeMetrics', action='store_true',
                              help='Remove metrics associated with the plugin')