import React from 'react'

import ConsoleLoad from '../consoleLoad'

const help = () => {
    return    "register                                            - register user by form \n"
            + "login                                               - login user by form \n"
            + "start                                               - start command \n"
            + "    -a      --app                                   - app flag - start music service app \n"
            + "clean                                               - clean screen \n"
}

const helpUser = () => {
    return  "logout                                              - logout user \n"
            + "start                                               - start command \n"
            + "    -a      --app                                   - app flag - start music service app \n"
            + "clean                                               - clean screen \n"
}

const register = () => {
    return (
        <div>
        
        </div>
    )
}

const startApp = () => {
    return (
        <div>
            <ConsoleLoad />
        </div>
    )
}

const undefined = (command) => {
    return 'command "'+ command + '" is undefined\n'
         + '        type "help" for more commands\n'
}

export default {
    help,
    helpUser,
    register,
    startApp,
    undefined
}