# JumpCut
JumpCut is a Rust utility designed to convert the [Fountain screenwriting markup format][fountain] into [Final Draft FDX files][FDX] (the industry standard in Hollywood) or into HTML.
JumpCut can be used as a command-line utility, a Rust library, or as a WASM package. Because of this, the project utilizes cargo [features][] so that different parts like the command-line utility can be turned off to save binary size.
## Installation
If you want to use JumpCut as a command-line utility, you can install it via Cargo.
```sh
cargo install jumpcut
```
To use JumpCut as a library, you can specify the following in your Cargo.toml so that the command-line features are not added to your project:
`jumpcut = { version = "0.7", default-features = false, features = ["lib-only"] }`
## Usage
Once installed, you can pass JumpCut a text file and it will parse it and output it as either an FDX, HTML, or JSON. The full options from the help text are listed below.
```
USAGE:
jumpcut [OPTIONS] [output]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-f, --format Formats (FDX, HTML, JSON) [default: fdx]
ARGS:
Input file, pass a dash ("-") to receive stdin