#search #crates #command-line-interface #cli

app crates_cli

A command line interface for finding and managing crates

4 releases

0.2.2 Jun 7, 2022
0.2.1 Jun 7, 2022
0.2.0 Jun 7, 2022
0.1.0 Jun 6, 2022

#40 in #crates

MIT license

31KB
621 lines

crates_cli

rust-clippy analyze


A command line interface for finding and managing Rust crates, heavily inspired by cargo-edit.


What's new (v0.2.2):

  • Windows support! The project has now switched to crossterm, which should allow it to function on Windows.

Installation:

cargo install crates_cli

Basic Usage:

cargo crate [SUBCOMMAND] [OPTIONS] <crate>

Check the Usage page in the wiki for more info on how to use crates_cli.

Features:

  • find searches crates.io for a crate
  • show displays information about a crate, including homepage and documentation links.
  • deps displays the dependencies of a crate.
  • versions shows available versions for a crate, and allows you to filter

Planned features:

  • add, rm, and version for managing dependencies
  • feature and related subcommands for managing features of dependencies
  • license to retrieve the license of a crate

Collaboration:

Collaboration is welcome. Feel free to submit issues and pull requests!

Formatting

This project uses rustfmt for formatting, and clippy for linting.

Dependencies

~14–28MB
~438K SLoC