Comments (7)
Perfect. I'm all for it.
from tinysearch.
It should be cargo run -- fixtures/index.json
(Mind the --
, which separates the cargo args from the tinysearch args)
from tinysearch.
It should be
cargo run -- fixtures/index.json
(Mind the--
, which separates the cargo args from the tinysearch args)
Cool. So, this works cargo run -- --index fixtures/index.json
from tinysearch.
Yes, subcommands are supported.
from tinysearch.
@mre I have linked my attempt. One issue that I am facing is that I have to use --index as argument to make it work like this
./target/debug/tinysearch --index fixtures/index.json
.
But,
cargo run fixtures/index.json
does not work.
from tinysearch.
Side-note, does argh support subcommands? E.g. tinysearch build ...
and tinysearch deploy ...
?
Considering to use something like that in the future.
from tinysearch.
Change by @vishalsodani merged. Closing this now.
from tinysearch.
Related Issues (20)
- Search results seems a bit random HOT 9
- Add an option to only generate the wasm HOT 1
- Consider replacing failure crate with anyhow or thiserror ? HOT 3
- Rename project? HOT 14
- Benchmark against competition HOT 7
- building docker image gives error from wasm-pack in step 19/28 HOT 5
- Could tiny search run in IOS and Android WebView browsers? HOT 2
- Error: No such file or directory (os error 2) HOT 19
- Too many false positives HOT 7
- Error: failed to execute "wasm-pack" "build" HOT 21
- Error: Engine directory could not be created HOT 8
- bug HOT 1
- Update Cargo build for tinysearch HOT 1
- Does tinysearch support stemming, stopwords, and CJK? HOT 2
- Is there a way to return the page description or body in the results? HOT 19
- Github action HOT 2
- Please tag release 0.7.0 HOT 3
- Failing to find Cargo.toml in temp directory? HOT 10
- For Zola sites, the tinysearch json index gets included in the sitemap.xml file. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinysearch.