@northflank/cli
Version:
Provides a command-line interface to the Northflank platform.
17 lines (14 loc) • 643 B
JavaScript
const chalk = require('chalk');
function cmdFmt(cmd) {
return `'${chalk.italic.underline(cmd)}'`;
}
function link(url) {
return chalk.blueBright.bold(url);
}
console.log(chalk.greenBright.bold(`The Northflank CLI has been installed successfully.`));
console.log(`Run ${cmdFmt('northflank login')} to connect to your Northflank account. `);
console.log(`If you don't have a token yet, create it on ${link('https://app.northflank.com')}`);
console.log('');
console.log(`For more help, run ${cmdFmt('northflank help')}`);
console.log(`Visit the documentation at ${link('https://northflank.com/docs/v1/api/use-the-cli')}`);
console.log('');