All files / fabric-shim/lib/cmds metadata.js

100% Statements 6/6
100% Branches 0/0
100% Functions 2/2
100% Lines 6/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23                      1x 1x 1x   1x     1x   1x    
/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
/*
# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
*/
 
'use strict';
 
exports.command = 'metadata <subcommand>';
exports.desc = 'Command for handling metadata';
exports.builder = function (yargs) {
    // apply commands in subdirectories, throws an error if an incorrect command is entered
    return yargs.demandCommand(1, 'Incorrect command. Please see the list of commands above.')
        .commandDir('metadata');
};
exports.handler = async (argv) => {};
 
module.exports.Generate = require('./metadata/lib/generate');