Auto Generate Directory Structure CLI
gene-diris an auto-generate directory structure cli.
- Generate using custom file template
- Generate with template
- fs : folder structure (includes: "sol.cpp, in, out")
- Generate with 3 types
- f : Full (includes: "sol.cpp, in, out")
- io : Input / Ouput (includes: ".cpp, .INP, .OUT")
- ct : File for testing (includes: "brute.cpp, gen.cpp")
node srcor run executor file (in releases tag)
gdnode src -nf -p <path> -n <folder_name> -tp <template_file_name> -t fs -o f -yor
gd -nf -p <path> -n <folder_name> -tp <template_file_name> -t fs -o f -ynode src [options]
Options:
-y no anything else
-nf, --no-folder-inside no folder inside
-p, --path <path> folder's directory
-n, --name <name> folder's name
-tp, --custom-template <file> autogene from <file>.cpp (if not exist, auto create)
-t, --template <template> gene with one of these template:
- fs : folder structure (includes: "sol.cpp, in, out")
-o, --option <option> gene with one of these options:
- f : Full (includes: "sol.cpp, in, out")
- io : Input / Ouput (includes: ".cpp, .INP, .OUT")
- ct : File for testing (includes: "brute.cpp, gen.cpp")Follow these steps to set up the project locally on your machine.
Prerequisites
Make sure you have the following installed or downloaded on your machine:
Cloning the Repository
git clone https://github.com/yuran1811/gene-dir.git
cd gene-dirInstallation
Install the project dependencies:
npm installor
yarnRunning the Project
npm startor
yarn start