fdai7451
|
f9206e16de
|
feat: change directory to home if no argument is given to cd
|
2 years ago |
fdai7451
|
bbe000158d
|
feat: add simple directory prompt
|
2 years ago |
fdai7451
|
7fa7ee5004
|
refactoring: simplify main loop match break and continue arms
|
2 years ago |
fdai7451
|
06ce1ffe25
|
feat: add command to change prompt style
|
2 years ago |
fdai7451
|
f2f50e20f8
|
feat: add command prompt styles
|
2 years ago |
fdai7451
|
70e18add89
|
feat: add session based command history
|
2 years ago |
fdai7451
|
33a6385db8
|
feat: do not exit on ctrl-c while executing a not builtin command
|
2 years ago |
fdai7451
|
2ed92df374
|
refactoring: use String instead of &str in interpret
|
2 years ago |
fdai7451
|
cc1b1838a6
|
feat: continue instead of exit on ctrl-c
|
2 years ago |
fdai7451
|
9d29e4f978
|
refactoring: remove brackets of Prompt struct
|
2 years ago |
fdai7451
|
496318fcbc
|
test: remove exit tests
|
2 years ago |
fdai7451
|
357747ccf0
|
feat: exit directly when using exit command
|
2 years ago |
fdai7381
|
289e07e3b6
|
test: add exit without args test
|
2 years ago |
fdai7381
|
4bb2a0fbf0
|
refactoring: update cd test naming
|
2 years ago |
fdai7381
|
5e82870c49
|
test: add exit test
|
2 years ago |
fdai7451
|
e03948ea0c
|
test: add is not a builtin test
|
2 years ago |
fdai7451
|
9940640067
|
test: add cd not existent directory test
|
2 years ago |
fdai7451
|
764b9569b0
|
test: add cd current directory test
|
2 years ago |
fdai7451
|
c22a7efb7c
|
feat: use trait to define builtins
|
2 years ago |
fdai7451
|
371f69c556
|
test: add parse line malformed word test
|
2 years ago |
fdai7451
|
3cd7340b44
|
test: add parse line complex word test
|
2 years ago |
fdai7451
|
adfa5ee90b
|
test: add parse line multiple word test
|
2 years ago |
fdai7451
|
1597fe1dbc
|
test: add parse line single word test
|
2 years ago |
fdai7451
|
2ee92751f8
|
feat: make shell error comparable
|
2 years ago |
fdai7451
|
66edb724bd
|
feat: use shlex to parse line
|
2 years ago |
fdai7451
|
b18d62705b
|
fix: use eprintln to print errors
|
2 years ago |
fdai7451
|
1e60631006
|
refactoring: unify match error arms
|
2 years ago |
fdai7381
|
64774881b9
|
test: add exit is builtin test
|
2 years ago |
fdai7381
|
23e6cfd4b0
|
feat: add exit builtin command
|
2 years ago |
fdai7381
|
5f399c0839
|
feat: add exit shell error
|
2 years ago |
fdai7381
|
49614f503d
|
refactoring: remove unnecessary internal keyword parameter
|
2 years ago |
fdai7375
|
3d17cc2fdd
|
test: add cd is builtin test
|
2 years ago |
fdai7375
|
f5812d5e88
|
feat: add cd builtin command
|
2 years ago |
fdai7375
|
2ae1471632
|
feat: add builtins module
|
2 years ago |
fdai7381
|
57902e67f5
|
feat: add command not found
|
2 years ago |
fdai7381
|
6c3db77525
|
fix: continue on empty line
|
2 years ago |
fdai7381
|
ba58935c95
|
feat: rework command execution
|
2 years ago |
fdai7381
|
acf60cc2d8
|
feat: add shell error enum
|
2 years ago |
fdai7381
|
ccb6dfc38e
|
refactoring: rename variable 'command' to 'keyword'
|
2 years ago |
fdai7375
|
e9c594ebc2
|
refactoring: add interpret function
|
2 years ago |
fdai7381
|
33834a4afa
|
test: add parse line test
|
2 years ago |
fdai7381
|
bc6bd9034a
|
test: add tokenize test
|
2 years ago |
fdai7381
|
63a2375bfa
|
refactoring: move tokenization to own function
|
2 years ago |
fdai7375
|
e7cf8a331f
|
feat: add command execution
|
2 years ago |
fdai7451
|
ca77d79e61
|
refactoring: rearrange commit script output
|
2 years ago |
fdai7451
|
7f48c7ee36
|
feat: count commit script tests and refactorings output
|
2 years ago |
fdai7375
|
1e3f67cc4a
|
fix: arguments will now be parsed
|
2 years ago |
fdai7375
|
c96f2ebc93
|
feat: implement basic command parsing
|
2 years ago |
fdai7451
|
6a0a822995
|
chore: exclude merge commits in count commit script
|
2 years ago |
fdai7451
|
eaca761b50
|
Merge branch 'count-commits' into 'main'
Add count commits script
See merge request fdai7381/pmuw-project!1
|
2 years ago |