fdai7381
|
6090a7c503
|
fix: update builtin command mapping
|
2 years ago |
fdai7381
|
5b6e7bd818
|
feat: add fetch builtin structure
|
2 years ago |
fdai7375
|
779ec01549
|
feat: add basic open command structure
|
2 years ago |
fdai7375
|
7834043514
|
test: add change-prompt is builtin test
|
2 years ago |
fdai7375
|
bbf652a8b8
|
test: add pwd is builtin test
|
2 years ago |
fdai7375
|
f9ba9b807d
|
feat: add pwd builtin command
|
2 years ago |
fdai7381
|
298a5e685a
|
refactoring: use whoami in bash like prompt
|
2 years ago |
fdai7381
|
db726b042c
|
refactoring: remove unneeded return statement
|
2 years ago |
fdai7381
|
244ae9b5ce
|
fix: update prompt on iteration
|
2 years ago |
fdai7381
|
154409f0ea
|
feat: update default prompt style
|
2 years ago |
fdai7381
|
0926afe80a
|
feat: change prompt style 'None' to 'Default'
|
2 years ago |
fdai7381
|
b2e4dc5353
|
refactoring: sort imports
|
2 years ago |
fdai7381
|
0676e774b8
|
refactoring: make 'try_interpret' private
|
2 years ago |
fdai7381
|
944adf87f2
|
feat: add shell welcome message
|
2 years ago |
fdai7451
|
6fe809a2eb
|
refactoring: move error catching match statement to other file
|
2 years ago |
fdai7451
|
494e7d0d79
|
refactoring: fmt preprocessing tests
|
2 years ago |
fdai7451
|
b6f3abaa82
|
fix: update env set regex
|
2 years ago |
fdai7451
|
6b15c76e23
|
test: add env variable resolve test
|
2 years ago |
fdai7451
|
e6ee00b021
|
feat: add env variable resolving to preprocessing
|
2 years ago |
fdai7451
|
c472d2bdd7
|
chore: exclude merge commits when counting user commits
|
2 years ago |
fdai7451
|
65b9ff6185
|
refactoring: unwrap preprocessing env set key as its always Some
|
2 years ago |
fdai7451
|
0b9cf63fcb
|
test: add preprocess set variable test
|
2 years ago |
fdai7451
|
dd0aec5280
|
feat: return option inside the preprocess result
|
2 years ago |
fdai7451
|
d2f8ca61ca
|
feat: add preprocessing function
|
2 years ago |
fdai7451
|
b94fffc952
|
refactoring: fmt change prompt tests
|
2 years ago |
fdai7451
|
968db58584
|
test: add change prompt valid and invalid arg test
|
2 years ago |
fdai7451
|
2d8136033c
|
test: add change prompt args test
|
2 years ago |
fdai7451
|
cd47c0a793
|
refactoring: remove return from prompt style fmt functions
|
2 years ago |
fdai7451
|
362d3ea667
|
feat: add bash-like prompt style
|
2 years ago |
fdai7451
|
04c41aaa93
|
refactoring: remove prompt format path argument
|
2 years ago |
fdai7451
|
fb41de9c2e
|
test: add cd test without args
|
2 years ago |
fdai7451
|
34bc88e42d
|
feat: change directory to home if no argument is given to cd
|
2 years ago |
fdai7451
|
19c80dd121
|
feat: add simple directory prompt
|
2 years ago |
fdai7451
|
d74949a0d4
|
refactoring: simplify main loop match break and continue arms
|
2 years ago |
fdai7451
|
1d1ccb7e98
|
feat: add command to change prompt style
|
2 years ago |
fdai7451
|
5f9a2c8f27
|
feat: add command prompt styles
|
2 years ago |
fdai7451
|
d283e988f3
|
feat: add session based command history
|
2 years ago |
fdai7451
|
f3a93de8d5
|
feat: do not exit on ctrl-c while executing a not builtin command
|
2 years ago |
fdai7451
|
9ff8bcb190
|
refactoring: use String instead of &str in interpret
|
2 years ago |
fdai7451
|
e021343b07
|
feat: continue instead of exit on ctrl-c
|
2 years ago |
fdai7451
|
b82e1a1864
|
refactoring: remove brackets of Prompt struct
|
2 years ago |
fdai7451
|
786deec960
|
test: remove exit tests
|
2 years ago |
fdai7451
|
f0bd9f8397
|
feat: exit directly when using exit command
|
2 years ago |
fdai7381
|
4a2c5d713c
|
test: add exit without args test
|
2 years ago |
fdai7381
|
7614798e4e
|
refactoring: update cd test naming
|
2 years ago |
fdai7381
|
b04e5e6280
|
test: add exit test
|
2 years ago |
fdai7451
|
5d0f600cc4
|
test: add is not a builtin test
|
2 years ago |
fdai7451
|
8ca75427d9
|
test: add cd not existent directory test
|
2 years ago |
fdai7451
|
8965c89d2c
|
test: add cd current directory test
|
2 years ago |
fdai7451
|
b9f3007d9e
|
feat: use trait to define builtins
|
2 years ago |