Crates.io | docstring-rs |
lib.rs | docstring-rs |
version | 0.3.0 |
source | src |
created_at | 2023-10-01 07:36:54.638214 |
updated_at | 2023-10-04 22:02:37.174881 |
description | π Generate or update docstrings for new and existing files. |
homepage | https://github.com/wilhelmagren/docstring-rs |
repository | https://github.com/wilhelmagren/docstring-rs |
max_upload_size | |
id | 989092 |
size | 61,576 |
Automatically generate new files or update existing codebases with header docstrings based on LICENSE information.
cargo install docstring-rs
Usage: docstring-rs.exe [OPTIONS] --directory <DIRECTORY>
Options:
-d, --directory <DIRECTORY> Name of the directory in which to create new file or update existing files,
if it does not already exist, creates the directory
-f, --file <FILE_NAME> Name of a new file to create with docstring as header. Prepends to top of
file if the target file already exists [default: *.*]
-l, --license <LICENSE> Relative path to the LICENSE file to use as header docstring. If not specified,
expects a LICENSE file to exist in the current working directory [default: LICENSE]
-u, --update Specify whether or not to try and update all available docstrings in a directory
recursively, requires <DIRECTORY> to have been set
-h, --help Print help
-V, --version Print version
All code is to be held under a general MIT license, please see LICENSE for specific information.