Comments (8)
I think this is now fixed after the rewrite, but I need to tag a release first and there shouldn't be break changes the surface syntax should stay the same, but there could be breaking changes in building binaries.
from comonicon.jl.
should be fixed with comonicon/ComoniconBuilder.jl@613fdd4
from comonicon.jl.
I've tagged a new version (run up
in pkg mode), please open a new issue if there are still problems.
from comonicon.jl.
It seems like spaces still give it trouble, but it doesn't seem to interpret it as a flag anymore which is good, ref ericphanson/SearchablePDFs.jl#5 (comment)
from comonicon.jl.
@ericphanson this is strange... I copy paste the function statement locally and it seems to work, what OS are you using?
# main.jl
using Comonicon
@main function searchable(input_pdf::String,
output_path::String=string(splitext(input_pdf)[1], "_OCR",
".pdf"); apply_unpaper::Bool=false,
ntasks::Int=Sys.CPU_THREADS - 1, tesseract_nthreads::Int=1,
keep_intermediates::Bool=false,
tmp::String="get_scratch_dir(input_pdf)", quiet::Bool=false,
logfile::Union{Nothing,String}=nothing, force::Bool=false)
println(input_pdf)
end
➜ Comonicon git:(master) ✗ julia main.jl "P - W93.pdf"
P - W93.pdf
➜ Comonicon git:(master) ✗
from comonicon.jl.
Ah I know why, it's because bash will still think "P - W93.pdf" is three tokens!
from comonicon.jl.
Huh, I get the same thing with your main.jl
,
❯ julia --project=. src/main.jl "P - W93.pdf"
P - W93.pdf
I'm on MacOS (m1 under rosetta).
Oh?
from comonicon.jl.
thanks!
from comonicon.jl.
Related Issues (20)
- [BUG] Custom `JULIA_DEPOT_PATH` not being respected HOT 1
- [BUG] SysImg install incompatible with submodules HOT 1
- doc link 404 HOT 3
- julia args HOT 1
- [Request] Allow short option to not be first letter of long HOT 5
- [BUG] sysimage_build_args isn' t configurable
- [BUG] Infinite build time on Julia 1.10 HOT 13
- [BUG] test failing for hint
- Control the empty lines in the usage doc HOT 2
- Base now exports `@main` HOT 3
- Provide overloads of `tryparse` for common stdlib types
- [BUG] Command description not printin in help
- [feature request] Run `command_main()` only when running script frome the command line HOT 2
- [BUG] `Vararg` does not work on recent Julia versions
- [BUG] Help text wraps; terminal width not detected correctly HOT 2
- [BUG] ERROR: System image file failed consistency check: maybe opened the wrong version?
- Sysimage precompilation error on Github CI / Docker image
- Clarify README about what this package does HOT 2
- PackageCompiler fails to build standalone app because it attempts to bundle mingw-w64 [BUG]
- [BUG] documentation not upto date with `ion`
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 comonicon.jl.