printa

1.0.8 • Public • Published

printa 📂

npm version License: MIT

A CLI tool to visualize project structure and display file contents

Installation

npm install -g printa

Usage

Usage: printa [options] <project>

CLI utility to list project structure and file contents

Arguments:
  project                        Path to the project folder

Options:
  -V, --version                  output the version number
  -e, --extensions <extensions>  Comma-separated list of file extensions to include (ts,js etc)
  -i, --ignore <patterns>        Comma-separated list of glob patterns to ignore files/directories
  -d, --depth <number>           Recursive search depth
  --no-color                     Disable color output
  --no-gitignore                 Disable reading .gitignore file
  --structure-only               Show only directory structure
  --contents-only                Show only file contents
  -h, --help                     display help for command

Features

  • Color-coded directory structure
  • File content preview
  • Code syntax highlighting
  • Configurable ignores
  • Using .gitignore by default

Package Sidebar

Install

npm i printa

Weekly Downloads

5

Version

1.0.8

License

MIT

Unpacked Size

12.5 kB

Total Files

4

Last publish

Collaborators

  • deligrim