refactor(cli): rename tooling/cli.rs folder to tooling/cli (#3388)

Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
This commit is contained in:
Lucas Fernandes Nogueira
2022-02-10 17:23:10 -03:00
committed by GitHub
parent 62c7a8ad30
commit 4334865266
209 changed files with 268 additions and 216 deletions

View File

@@ -0,0 +1,10 @@
// Copyright 2019-2021 Tauri Programme within The Commons Conservancy
// SPDX-License-Identifier: Apache-2.0
// SPDX-License-Identifier: MIT
use napi::{Error, Result, Status};
#[napi_derive::napi]
pub fn run(args: Vec<String>, bin_name: Option<String>) -> Result<()> {
tauri_cli::run(args, bin_name).map_err(|e| Error::new(Status::GenericFailure, e.to_string()))
}