コード例 #1
0
ファイル: test_flatten.py プロジェクト: bw57899/aws-cli
    def test_flatten_register(self):
        cli = mock.Mock()

        flatten = FlattenArguments("my-service", FLATTEN_CONFIG)
        flatten.register(cli)

        cli.register.assert_called_with("building-argument-table.my-service.command-name", flatten.flatten_args)
コード例 #2
0
ファイル: test_flatten.py プロジェクト: wenhuanhuang/aws-cli
    def test_flatten_register(self):
        cli = mock.Mock()

        flatten = FlattenArguments('my-service', FLATTEN_CONFIG)
        flatten.register(cli)

        cli.register.assert_called_with(\
            'building-argument-table.my-service.command-name',
            flatten.flatten_args)
コード例 #3
0
ファイル: cloudsearch.py プロジェクト: aws/aws-cli
def initialize(cli):
    """
    The entry point for CloudSearch customizations.
    """
    flattened = FlattenArguments('cloudsearch', FLATTEN_CONFIG)
    flattened.register(cli)
コード例 #4
0
ファイル: cloudsearch.py プロジェクト: RadicalLove/aws-cli
def initialize(cli):
    """
    The entry point for CloudSearch customizations.
    """
    flattened = FlattenArguments("cloudsearch", FLATTEN_CONFIG)
    flattened.register(cli)