Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

GWMCwing/Quick-Start-Course-Dir

Repository files navigation

Quick-Start-Course-Dir

A little program for me to quickly open the directory for my course folder, without clicking through lots of directory or symlink in file explorer.
Because I am Lazy.

If it works, don't touch it. This repo is now unmaintained


Configuration

Configure the program via config.json on the same directory of the program, template is provided here

dirPath: Absolute path to the root directory of all the folders to search
inputName.<key>.alias alias for the key's function as the input argument for the program
Further custumization is not provided, as this is not the usage of the program for me.

Usage

Open the directory. (With fuzzy string searching using Levenshtein distance agaisnt the file generated by the program)

<program.exe> <stringInput OR Alias>

<stringInput>: name of the folder path relative to the dirPath in config.json.

Input of COMP2012 or COMP 2012 translates to <dirPath>/COMP/2012 or selected in CLI by fuzzy string matching.
<Alias>: Custom alias for different function of the program.

Generate / Update file structure.

<program.exe> <generateStructure Alias>

<generateStructure Alias>: Alias defined in config.json: inputName.generateStructure.alias