added fritiofscommando och att man kan ha " " innan komandon

This commit is contained in:
Laukka 2025-01-13 14:37:35 +01:00
parent 2932f9bf43
commit 15da22bc16
2 changed files with 13 additions and 1 deletions

View File

@ -38,7 +38,7 @@ func Run_command(in input_parser.Input, env *environment.Env) {
pwd.Pwd(in, env)
case "echo":
echo.Echo(in, env)
case "fritiof":
case "fritiof", "fritiofcommand":
fritiofcommand.Fritiof(in, env)
case "ls":
ls.Ls(in, env)

View File

@ -0,0 +1,12 @@
package fritiofcommand
import (
"bbash/environment"
"bbash/input_parser"
"fmt"
)
func Fritiof(in input_parser.Input, _ *environment.Env) {
fmt.Print("Sannolikheten för läkarlinjen är mycket hög!")
// fritiof
}