dioxus/packages/cli
Brian Donovan 03e02591ec
fix(cli): allows extracting files without separate directory entries
Some zip files do not list directories separately from files. For example, a zip might contain `dir/file.txt` without a corresponding entry for just `dir/`. This should be okay, so we just create the leading paths for the files we extract as necessary.

Also adds tests for the expected and dangerous path cases of `extract_zip`.
2023-08-04 21:28:09 -07:00
..
.github/workflows Prepare CLI for move into mainline 2023-06-28 17:21:23 -07:00
.vscode Prepare CLI for move into mainline 2023-06-28 17:21:23 -07:00
docs docs(cli): update subcommand comments (#1303) 2023-08-04 17:00:41 -05:00
examples Prepare CLI for move into mainline 2023-06-28 17:21:23 -07:00
src fix(cli): allows extracting files without separate directory entries 2023-08-04 21:28:09 -07:00
tests fix(cli): allows extracting files without separate directory entries 2023-08-04 21:28:09 -07:00
.gitignore Prepare CLI for move into mainline 2023-06-28 17:21:23 -07:00
build.rs Prepare CLI for move into mainline 2023-06-28 17:21:23 -07:00
Cargo.lock Prepare CLI for move into mainline 2023-06-28 17:21:23 -07:00
Cargo.toml fix(cli): allows extracting files without separate directory entries 2023-08-04 21:28:09 -07:00
Dioxus.toml Rename dioxus to dx in examples and fullstack 2023-07-14 13:53:06 -07:00
README.md Rename dioxus to dx in examples and fullstack 2023-07-14 13:53:06 -07:00

📦 Dioxus CLI

Tooling to supercharge Dioxus projects

**dioxus-cli** (inspired by wasm-pack and webpack) is a tool for getting Dioxus projects up and running. It handles all build, bundling, development and publishing to simplify web development.

Installation

Install stable version

cargo install dioxus-cli

Install from git repository

cargo install --git https://github.com/DioxusLabs/dioxus dioxus-cli

Install from local folder

cargo install --path . --debug

Get Started

Use dx create project-name to initialize a new Dioxus project.

It will be cloned from the dioxus-template repository.


Alternatively, you can specify the template path:

dx create hello --template gh:dioxuslabs/dioxus-template

Dioxus Config File

Dioxus CLI will use Dioxus.toml file to Identify some project info and switch some cli feature.

You can get more configure information from Dioxus CLI Document.