Skip to content

Commit

Permalink
Merge pull request #47 from dbarnett/cli
Browse files Browse the repository at this point in the history
Support trivial cli args like --version & --help
  • Loading branch information
kareemmahlees authored Mar 19, 2024
2 parents 4a898a5 + 63e6134 commit ea9bfcd
Show file tree
Hide file tree
Showing 6 changed files with 218 additions and 30 deletions.
5 changes: 5 additions & 0 deletions .changeset/warm-ladybugs-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@tablex/core": patch
---

Support trivial cli args like --version
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ apps/core/src/components
apps/web/src/components
apps/web-astro/src/components
.all-contributorsrc
.pnpm-store
**/routeTree.gen.ts
.pnpm-store
195 changes: 166 additions & 29 deletions apps/core/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions apps/core/src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ strip = true
tauri-build = { version = "1.5.0", features = [] }

[dependencies]
clap = { version = "4.5.1", features = ["derive"] }
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { version = "1.5.2", features = [ "shell-open", "os-all", "clipboard-write-text", "global-shortcut-all", "dialog-open", "test", "process-command-api"] }
Expand All @@ -36,3 +37,6 @@ regex = "1.10.3"
# If you use cargo directly instead of tauri's cli you can use this feature flag to switch between tauri's `dev` and `build` modes.
# DO NOT REMOVE!!
custom-protocol = [ "tauri/custom-protocol" ]

[target."cfg(windows)".dependencies]
windows = { version = "0.54.0", features = ["Win32_System_Console", "Win32_Foundation"] }
Loading

0 comments on commit ea9bfcd

Please sign in to comment.