wt-editor-cli

0.2.3 • Public • Published

wt-editor-cli

What is wt-editor-cli?

A command line editor for realtime updating of Windows Terminal settings

wt-editor-cli-showcase

Info
Build release
GitHub GitHub version
NPM npm version
Downloads npm
Twitter Twitter Follow

Prerequisites

  • Running Windows 7 or later
  • Have the latest version of Windows Terminal (Preview) installed
  • Have Node.js 12 installed or later
  • Have npm (Comes with Node.js)

Setup

  • Clone this repo git clone https://github.com/BlackPhlox/wt-editor-cli.git or
    using npm install -g wt-editor-cli
  • (Important) If you already have configured your settings.json, I highly recommend you backup your file, just in case. The file can be found here: %appdata%\..\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\
  • Go into the downloaded folder cd wt-editor-cli
  • Run setup.bat
  • Run wte

Additionally step

  • If you are running using the Linux-Subsystem you can add alias wte='cmd.exe /c wte' in your ~/.bashrc file.

Configuration

When setup.bat has run, a config.json file has been generated. There is currently only 3 properties you can change: assetPath(cli-explorer-selector's default path), questionColor and errorColor (Both is parsed using chalk):

{ 
   "jsonPath":"(Your appdata path)/../Local/Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/LocalState/settings.json", 
   "assetPath":"(Your appdata path)/../Local/Packages/Microsoft.WindowsTerminal_8wekyb3d8bbwe/RoamingState", 
   "questionColor":"lightgray", 
   "errorColor":"red" 
} 
 

Contribution

Any contribution is appreciated, their are no formalities, just create a pull request.

Creating Pull Requests

Push your commit to get it back up to your fork: git push origin HEAD Visit Github, click handy “Pull request” button that it will make upon noticing your new branch.

Readme

Keywords

none

Package Sidebar

Install

npm i wt-editor-cli

Weekly Downloads

46

Version

0.2.3

License

MIT

Unpacked Size

39.7 kB

Total Files

11

Last publish

Collaborators

  • blackphlox