MCPcopy Create free account
hub / github.com/acode/cli / cb

Method cb

cli/commands/init.js:62–78  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

60 config.initialize(process.cwd());
61
62 let cb = (err) => {
63 if (err) {
64 return callback(err);
65 }
66 console.log();
67 console.log(chalk.bold.green(`Congratulations!`));
68 console.log(`Your Autocode development environment has been initialized.`);
69 console.log();
70 console.log(`Use ${chalk.bold('lib create <service>')} to create a new (local) service package.`);
71 console.log(`or type ${chalk.bold('lib download <service>')} to download an existing service package.`);
72 console.log()
73 console.log(`Additionally, use ${chalk.bold('lib help')} to see more commands.`)
74 console.log();
75 console.log(chalk.bold('Happy building! :)'));
76 console.log();
77 callback(null);
78 };
79
80 if (nologin) {
81 return cb();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected