Skip to content

bgdar/m-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

M shell

> Shell Engine

tect stack

  • crossterm => untuk menghandle input dan parsing key di terminal
  • toml > untuk management config file
  • dirs => bisa membantu menyesuikan Path windows, dan UNix , seperti config_dir otomatis mendapat : | OS | Lokasi | | ------- | --------------------------------------------------- | | Linux | ~/.config/m-shell/config.toml | | macOS | ~/Library/Application Support/m-shell/config.toml | | Windows | C:\Users\user\AppData\Roaming\m-shell\config.toml |

File && folder

  • main => file atau handle utama
  • command=> untuk daftar commnad command yang akan di gunakan
  • events => fn utama untuk handle event
  • info => tangani error , error , info ,

Info source code

  • Arc && Mutex : saya guanakna untuk membagi State secara maximal
  • Cow : untuk menangani Inputan error yang aman dan bisa switch antara String atau &str

M Shell Commmand

command bawaan M Shell format :

m->value_1->value_2->...
  1. update path
  • m->path-config->update : untuk mengupdate path path yang sudah ada di file m-shell.toml

About

shell Engine Sederhana , dengan Konsep apa adanya

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages