add-header 0.1.2

A cli to add headers to files
add-header-0.1.2 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 [--file <file>] [--dir <dir>] [--extensions <extensions>]

Add Header

Options:
  --file            path to the header file, default to: ./header
  --dir             directory to apply the header, default to current dir: .
  --extensions      filter files by extensions, default to ".rs"
  --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/.