Initial commit — jibo-cli v3.0.7 with bundled node_modules

This commit is contained in:
pasketti
2026-04-05 18:40:18 -04:00
commit b2569b4ce4
10488 changed files with 1631271 additions and 0 deletions

35
node_modules/prompt/examples/existing-properties.js generated vendored Normal file
View File

@@ -0,0 +1,35 @@
/*
* existing-properties.js: Example of using prompt with predefined properties.
*
* (C) 2010, Nodejitsu Inc.
*
*/
var prompt = require('../lib/prompt');
prompt.properties = {
email: {
format: 'email',
message: 'Must be a valid email address'
},
password: {
hidden: true
}
};
//
// Start the prompt
//
prompt.start();
//
// Get two properties from the user: email, password
//
prompt.get(['email', 'password'], function (err, result) {
//
// Log the results.
//
console.log('Command-line input received:');
console.log(' email: ' + result.email);
console.log(' password: ' + result.password);
});