feat(sqlpkg) Add sqlpkg CLI utility for installing SQLite extensions

This commit is contained in:
Stephen Margheim
2023-10-16 18:02:49 +00:00
committed by AJ ONeal
parent a2cf9f39bb
commit 73b233eed9
5 changed files with 240 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
'use strict';
var github = require('../_common/github.js');
var owner = 'nalgeon';
var repo = 'sqlpkg-cli';
module.exports = function (request) {
return github(request, owner, repo).then(function (all) {
return all;
});
};
if (module === require.main) {
module.exports(require('@root/request')).then(function (all) {
all = require('../_webi/normalize.js')(all);
console.info(JSON.stringify(all, null, 2));
});
}