add-header 0.2.1

A cli to add headers to files
add-header-0.2.1 is not a library.

add-header

License Crates.io Minimum Supported Rust Version CI

A cli to add headers to files.

Install and Usage

You can install add-header with: cargo install add-header and run it in your project directory with: add-header

Usage: add-header [--header <header>] [--dir <dir>] [--extensions <extensions>] [--comment-style <comment-style>]

A cli to add headers to files

Options:
  --header          path to the header file, default to: ./NOTICE
  --dir             directory to apply the header, default to current dir: .
  --extensions      select files by extension, default to "rs", format:
                    comma-separated, e.g. "rs,js,kt"
  --comment-style   comment style, default to "//"
  --help            display usage information

Purpose

Makes the process of adding header notices to files easier.

Like those requested by licenses such as MPL2.0:

This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at https://mozilla.org/MPL/2.0/.