ruedigergad / cli4clj Goto Github PK
View Code? Open in Web Editor NEWCreate simple interactive CLIs for Clojure applications.
License: Eclipse Public License 1.0
Create simple interactive CLIs for Clojure applications.
License: Eclipse Public License 1.0
hello, this appears to be a very useful tool for my project but I failed to get it to work on the very first try. When running lein run
I got the first prompt but then it would not respond to any commands:
> lein run
Reflection warning, C:\...\form-init8532592205835804337.clj:1:889 - call to static method invokeStaticMethod on clojure.lang.Reflector can't be resolved (argument types: unknown, java.lang.String, unknown).
cli#
Terminate batch job (Y/N)? y
What may I be missing?
Thanks.
Right now, pressing Ctl-D on MacOS doesn't shut down a CLI application based on cli4clj as with most other MacOS command line apps. There probably needs to be an option in cli4clj that will optionally detect EOF and return as if "q" had been entered into the CLI.
We have cli program that has valid inputs that aren't valid edn. For example, we allow users to specify ids that have a slash in them: 12345/abc
. cli4clj runs this through the clojure read
function, which crashes when trying to read this - it thinks it's an invalid number.
Would it be possible to allow the read
function to be pluggable, similar to how eval
is pluggable? Or is there some other way to work around this issue?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.