#prints #package #read #recursion #directory #search #csproj

bin+lib csdeps

Reads csproj files and prints out the package dependencies

2 releases

0.1.2 May 9, 2020
0.1.1 May 7, 2020

#1741 in Filesystem

MIT license

8KB
148 lines

csdeps

Given a directory, csdeps recursively searches folders for .csproj files, and prints out all dependencies.

Installation

Docker

  1. Use an official rust docker container, or follow instructions to install rust in the following section. (https://hub.docker.com/_/rust)
  2. Install csdeps with cargo: cargo install csdeps

Windows, Mac, Linux -> Install with cargo

  1. Install rust and associated tools by following the intsructions here: https://www.rust-lang.org/tools/install
  2. Install csdeps with cargo: cargo install csdeps

Windows only -> download from releases

  1. Navigate to releases, and download the latest version of csdeps.exe.

Usage:

Use the json flag to print output in that format.

USAGE:
    csdeps [FLAGS] <DIR>

FLAGS:
    -h, --help       Prints help information
    -j, --json       Output using json format
    -V, --version    Prints version information

ARGS:
    <DIR>    Directory to search for project files

Dependencies

~7–15MB
~197K SLoC