advance-touch

Fast creation of files and directories. Mimics the operation of AdvancedNewFile (Vim plugin)


Keywords
touch, mkdir, advance, vim
License
MIT
Install
pip install advance-touch==1.0.1

Documentation

Advanced New File

And it supports multiple arguments!

Use

ad [path file or folder]

Install

pip3 install advance-touch

Examples

Single folder

ad airport/plane/
airport/
├── plane/

Multiple folders

ad airport/ station/ port/
airport/
station/
port/

Single file with your hierarchy of folders

ad airport/plane/captain.txt
airport/
├── plane/
│   ├── captain.txt

Folder and single file with your hierarchy of folders

ad airport/ train-station/train.txt
airport/
├── plane/
train-station/
├── train.txt

If your shell supports arguments expansion

ad airport/plane/{captain,passenger}.txt
airport/
├── plane/
│   ├── captain.txt
│   ├── passenger.txt