Skip to content

leoxialtd/Leoxia.Shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leoxia.Shell

Cross platform command interpreter. Written in C#/.NET Core. Primarily intended to work on Windows. Not tested on Linux/Mac but should work as well.

Navigation on command Line

  • Use Ctrl+A, Home, Ctrl+E, End, Left Arrow, Right Arrow to navigate
  • Ctrl+K, Backspace to delete characters.

History

  • Can access history of commands with up arrow, down arrow, Ctrl+P, Ctrl+N.
  • Can modify current command or history without losing current command.

Run executables in $PATH / %PATH%

  • Search in path for the exe (add .exe on Windows).

Capture Standard Output / Standard error

  • Standard output/error is captured from child process and displayed in console.

Environment Variables Expansion

Expand ${VARIABLE} $VARIABLE %VARIABLE%

Builtins

The following builtins are already implemented

  • echo
  • cd
  • mkdir
  • ls (options -l, -a, --color)
  • exit

Alias management

  • aliases are saved and loaded in <directory_of_assembly>/.lxaliases
  • aliases are expanded on the commandline

TODO

  • History save between runs
  • History search
  • Completion
  • Standard Input redirection
  • Redirection operators < | >
  • Prompt customization

Development

In order to compile the projects, you'll need the following

Contribution

Any contribution is welcome. Please Read Contributing

About

Cross platform command interpreter written in .NET Core.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages