From a70b52416fec246e675fce2381e18f66f6c64869 Mon Sep 17 00:00:00 2001 From: Gabe Macri Date: Fri, 19 Jan 2024 10:03:14 -0500 Subject: [PATCH] ascii n - vscode command --- src/utils/bin/commands.ts | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/utils/bin/commands.ts b/src/utils/bin/commands.ts index 18bcae3..bc94f91 100644 --- a/src/utils/bin/commands.ts +++ b/src/utils/bin/commands.ts @@ -138,17 +138,23 @@ export const sudo = async (args?: string[]): Promise => { return `Permission denied: with little power comes... no responsibility? `; }; +export const vscode = async (args: string[]): Promise => { + window.open(`https://vscode.dev`); + + return 'Opening Vscode...'; +}; + // Banner export const banner = (args?: string[]): string => { return ` -█████ ███ ███████████ -░░███ ░░░ ░█░░░███░░░█ - ░███ ████ █████ █████ ██████ ░ ░███ ░ ██████ ████████ █████████████ - ░███ ░░███ ░░███ ░░███ ███░░███ ░███ ███░░███░░███░░███░░███░░███░░███ - ░███ ░███ ░███ ░███ ░███████ ░███ ░███████ ░███ ░░░ ░███ ░███ ░███ - ░███ █ ░███ ░░███ ███ ░███░░░ ░███ ░███░░░ ░███ ░███ ░███ ░███ - ███████████ █████ ░░█████ ░░██████ █████ ░░██████ █████ █████░███ █████ -░░░░░░░░░░░ ░░░░░ ░░░░░ ░░░░░░ ░░░░░ ░░░░░░ ░░░░░ ░░░░░ ░░░ ░░░░░ + _______ ____ _______ ____ _______ ____ _______ + | || | | _ || | | _ || | | | + | ___| | | | |_| | | | | |_| | | | | ___| + | | __ | | | | | | | | | | | |___ + | || | | | | | | | | _ | | | | ___| + | |_| | | | | _ | | | | |_| | | | | |___ + |_______| |___| |__| |__| |___| |_______| |___| |_______| + `; };