6 releases

0.1.16 Oct 16, 2023
0.1.15 Oct 10, 2023
0.1.13 Sep 26, 2023

#336 in Filesystem

32 downloads per month

MIT license

49KB
1K SLoC

savvy-cli

A helper CLI for savvy framework. For the full details, please read savvy's crate documentation.

Installation

You can find the binary on the GitHub releases page. If you prefer installing from source, please run cargo install.

cargo install savvy-cli

Usage

Generate C bindings and R bindings for a Rust library

Usage: savvy-cli <COMMAND>

Commands:
  c-header      Generate C header file
  c-impl        Generate C implementation for init.c
  r-impl        Generate R wrapper functions
  makevars      Generate Makevars
  makevars-win  Generate Makevars.win
  gitignore     Generate .gitignore
  update        Update wrappers in an R package
  init          Init savvy-powered Rust crate in an R package
  help          Print this message or the help of the given subcommand(s)

Options:
  -h, --help  Print help

Dependencies

~1.4–2.1MB
~38K SLoC