feat: install remote now writes files to disk

This commit is contained in:
2026-05-22 15:55:37 -06:00
parent b5fc633454
commit cd226577e7
2 changed files with 639 additions and 24 deletions
+7 -1
View File
@@ -60,7 +60,13 @@ pub enum Language {
impl From<&String> for Language {
fn from(s: &String) -> Self {
match s.to_lowercase().as_str() {
Language::from_extension(s)
}
}
impl Language {
pub fn from_extension(ext: &str) -> Self {
match ext.to_lowercase().as_str() {
"sh" => Language::Bash,
"py" => Language::Python,
"ts" => Language::TypeScript,