retree-cli

0.3.1 • Public • Published

Retree

Installation

yarn global add retree-cli

or

npm install --global retree-cli

Usage

retree

This will open a tree view of the current directory in YAML format in your favorite $EDITOR.

Any change you do there will be applied when you close the file; you can:

  • create files
  • create directories
  • rename files
  • rename directories
  • copy files
  • copy directories
  • delete files
  • delete directories
  • any combination of the above

Multi-cursors in text editors are so natural to use that you can quickly edit your directory structure using retree, the same way you would edit a text file.

Example use cases:

  • rename all .js files to .ts
  • add a .spec.ts file alongside every .ts file
  • visualize all files in a project in one glance (no edit)

Contributing

All contributions are welcome!

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.1
    2
    • latest

Version History

Package Sidebar

Install

npm i retree-cli

Weekly Downloads

2

Version

0.3.1

License

MIT

Unpacked Size

79.3 kB

Total Files

65

Last publish

Collaborators

  • aybbyk