homepage.js/react/resume/src/emulation/commands/index.js

14 lines
296 B
JavaScript
Raw Normal View History

2023-03-09 15:57:46 +01:00
import Files from '../files';
module.exports = {
cat: {
description: 'Show contents of a file',
fn: require('./cat')
},
ls: {
description: 'Show files in current directory',
fn: ()=>{
return Object.keys(Files).join(' ');
}
}
}