You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/ui/packages/consul-ui/blueprints/repository/index.js

32 lines
529 B

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
'use strict';
const path = require('path');
module.exports = {
description: 'Generates a Consul repository',
availableOptions: [],
root: __dirname,
fileMapTokens(options) {
return {
__path__() {
return path.join('services', 'repository');
},
};
},
locals(options) {
// Return custom template variables here.
return {};
},
// afterInstall(options) {
// // Perform extra work here.
// }
};