Juri Strumpflohner

RSS
all notes๐ŸŒฑseedlingยทUpdated

Generate a ASCII tree from file system

Author profile pic
Juri Strumpflohner

The command:

npx directory-tree-ascii awesomereactapp -b node_modules .git

The result (with some details removed manually: ...):

cra-app
  โ”œโ”€ public/
  โ”œโ”€ src/
  โ”‚   โ”œโ”€ authentication/
  โ”‚   โ”‚  โ”œโ”€ current-user/
  โ”‚   โ”‚  โ”‚   โ”œโ”€ ...
  โ”‚   โ”‚  โ”‚   โ””โ”€ index.ts
  โ”‚   โ”‚  โ”œโ”€ login/
  โ”‚   โ”‚  โ””โ”€ signup/
  โ”‚   โ”œโ”€ orders/
  โ”‚   โ”‚   โ”œโ”€ checkout/
  โ”‚   โ”‚   โ”œโ”€ place-order/
  โ”‚   โ”‚   โ”œโ”€ refund/
  โ”‚   โ”‚   โ””โ”€ order-list/
  โ”‚   โ”œโ”€ payments/
  โ”‚   โ”œโ”€ products/
  โ”‚   โ”œโ”€ user-profile/
  โ”‚   โ”‚   โ”œโ”€ addresses/
  โ”‚   โ”‚   โ””โ”€ credit-cards/
  โ”‚   โ”œโ”€ App.css
  โ”‚   โ”œโ”€ App.tsx
  โ”‚   ...
  โ”œโ”€ package-lock.json
  โ”œโ”€ package.json 
  โ””โ”€ README.md