0.1.0 • Published 2 years ago

@stkb/rewrap v0.1.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
2 years ago

Rewrap CLI

CLI for the core library used by the Rewrap VS & VS Code extensions. Will later also be a general javascript library.

Usage: cli [options] inputfile(s)...

Options:
      --version                Show version number                                          [boolean]
      --column                 Column to wrap text at; E.g. setting <72> means lines will be no wider
                               than 72 characters. If set to < 1, text will be 'unwrapped' instead.
                                                                                        [default: 80]
  -i, --in-place               Edits files in-place rather than sending output to stdout    [boolean]
      --tab-width, --tab-size  Sets the width of tabs                                    [default: 4]
      --unwrap                 Unwraps text instead. '--column' will be ignored             [boolean]
      --help                   Show help                                                    [boolean]

Limitations

  • Can currently only read & write as UTF8.
0.1.0

2 years ago