- Fixed output formatting error in ls.ts
- Added an exported `Termos` object entry point - Defined a basic config for the entry point - Wrote a self contained initialization function for parsin the config into a returned `Shell` instance - Adjusted `dev.ts` to use the said entry point
This commit is contained in:
+1
-12
@@ -1,12 +1 @@
|
||||
import { defaultConfig, TermosConfig } from "./config";
|
||||
|
||||
let config: TermosConfig = { ...defaultConfig };
|
||||
|
||||
function init(config: Partial<TermosConfig>) {
|
||||
config = { ...defaultConfig, ...config };
|
||||
console.log("termos initialized");
|
||||
}
|
||||
|
||||
export const Termos = {
|
||||
init,
|
||||
};
|
||||
export { Termos } from "./entry";
|
||||
|
||||
Reference in New Issue
Block a user