Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add cli POC #146

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ You will need to [install rust](https://www.rust-lang.org/tools/install) first a

npm run dev

## Running the CLI

npm run tauri dev -- -- -- --help

# 🔨 Build

If you're using Linux be sure to set the `NO_STRIP` env var to `true` (see https://github.com/tauri-apps/tauri/issues/8929 ) if the build is failing.
Expand Down
3 changes: 3 additions & 0 deletions src-tauri/src/cli.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pub fn run(config_dir_name: &str) {
println!("--> [cli] run `{}`", config_dir_name);
}
Loading