list-commands command


import chalk from 'chalk';
import { Command } from 'blognami';

export default {
    run(){
        console.log('');
        console.log('The following commands are available:');
        console.log('');
        Command.names.forEach(commandName => {
            console.log(`  * ${chalk.green(commandName)}`);
        });
        console.log('');
    }
};