Skip to content

Commit

Permalink
fix: clean up cli args
Browse files Browse the repository at this point in the history
  • Loading branch information
DonIsaac committed Sep 17, 2024
1 parent eda310f commit 0896a9f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
# Oxbuild

[![CI](https://github.com/DonIsaac/oxbuild/actions/workflows/ci.yml/badge.svg)](https://github.com/DonIsaac/oxbuild/actions/workflows/ci.yml)
[![Crates.io Version](https://img.shields.io/crates/v/oxbuild)](https://crates.io/crates/oxbuild)


An ultra-fast `tsc`-like compiler built on top of [oxc](https://github.com/oxc-project/oxc).

## Features

- Transpile TypeScript, JavaScript, JSX, and TSX
- Emit `.d.ts` files for TypeScript projects using
- Emit `.d.ts` files for TypeScript projects that use
[`isolatedDeclarations`](https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-5.html#isolated-declarations)
- Source maps for transpiled code
- JS Source maps for transpiled code

## Installation

Expand Down
13 changes: 1 addition & 12 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,12 @@ pub(crate) use root::Root;

pub fn cli() -> ArgMatches {
command!()
// .arg(
// Arg::new("input")
// .value_hint(ValueHint::DirPath)
// .help("Directory containing your source code. Defaults to CWD"),
// )
.arg(
Arg::new("config")
.short('c')
.long("config")
.value_hint(ValueHint::FilePath)
.help("Path to .oxbuildrc"),
.help("Path to .oxbuildrc. Not yet supported"),
)
.arg(
Arg::new("tsconfig")
Expand All @@ -29,12 +24,6 @@ pub fn cli() -> ArgMatches {
.value_hint(ValueHint::FilePath)
.help("Path to tsconfig.json"),
)
.arg(
Arg::new("cwd")
.long("cwd")
.value_hint(ValueHint::DirPath)
.help("Root directory for the project. Defaults to the current working directory."),
)
.get_matches()
}

Expand Down

0 comments on commit 0896a9f

Please sign in to comment.