structure-codes / cli

cli tool for generating trees from a user's file system as well as building structures in the file system from an existing tree

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add inquirer for first time install of cli

alex-oser opened this issue · comments

Expected use of the cli is to be installed globally, so upon install setup global config which will be used. This setup includes:

  • customize directories to be ignored by default
  • select a preferred editor for opening files with

By default will try using vscode binary, otherwise will follow the same logic as inquirer:
"The editor to use is determined by reading the $VISUAL or $EDITOR environment variables. If neither of those are present, notepad (on Windows) or vim (Linux or Mac) is used."