2023-03-09 15:57:46 +01:00
|
|
|
import Files from '../files';
|
|
|
|
|
2023-03-09 16:27:10 +01:00
|
|
|
import Colored from '../../helpers/color';
|
2023-03-09 16:14:19 +01:00
|
|
|
|
2023-03-09 15:57:46 +01:00
|
|
|
module.exports = {
|
|
|
|
cat: {
|
|
|
|
description: 'Show contents of a file',
|
|
|
|
fn: require('./cat')
|
|
|
|
},
|
|
|
|
ls: {
|
|
|
|
description: 'Show files in current directory',
|
|
|
|
fn: ()=>{
|
2023-03-09 16:14:19 +01:00
|
|
|
return <pre style={{color: '#2e8b7e', fontWeight: 'bold'}}>
|
|
|
|
{Object.keys(Files).join(' ')}
|
|
|
|
</pre>;
|
|
|
|
}
|
|
|
|
},
|
|
|
|
skills: {
|
|
|
|
description: 'My skills data',
|
2023-03-09 16:27:10 +01:00
|
|
|
fn: require('./skills')
|
2023-03-09 15:57:46 +01:00
|
|
|
}
|
|
|
|
}
|