Initialisation du code

This commit is contained in:
2024-01-04 17:34:54 +01:00
parent 8a5ed5a788
commit bfee7c82e5
1487 changed files with 171485 additions and 0 deletions

8
node_modules/has-flag/index.js generated vendored Normal file
View File

@@ -0,0 +1,8 @@
'use strict';
module.exports = (flag, argv) => {
argv = argv || process.argv;
const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
const pos = argv.indexOf(prefix + flag);
const terminatorPos = argv.indexOf('--');
return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos);
};