Comments (14)
We have an initial working system with Planck: https://github.com/l3nz/cli-matic/blob/master/planck.md
from cli-matic.
This is a good idea, I would be interested in trying this lib out and eventually replace tools.cli
.
Checking the code...
from cli-matic.
I expect that it should be trivial; it is a matter of implementing namespaces platform.cljs
(where JVM stuff is) and optional.cljs
where we have optional stuff - the only "optional" that I guess will be there initially is the ability to decode JSON that JS surely has.
Please note that I created the current cljs namespaces in a hurry and functions there just return nil, all of them - so they will break sth else down the line.
from cli-matic.
Link https://medium.com/@jamesleonis/step-inside-cljsbuild-e38271b10415
from cli-matic.
Thank you for the quick answer! Maybe the link is not really the one you wanted to post? I see it points to a leiningen post 😄
from cli-matic.
Oh I see, you wanted to write down the doc to how to configure lein for Cljs.
from cli-matic.
Now I have a clean compile (kind of) but tests still do not pass. Want to give it a try?
from cli-matic.
Yep will give it a try, no promise about time but I will do my best 😄
from cli-matic.
I'm starting to think we should target Planck initially, as it seems the most likely thing one would use to write a CLI app.
from cli-matic.
The classic approach is to implement ClojureScript, keeping the amount of macros very low and then port it to self-host. I have done a bunch of those so I can help with that.
from cli-matic.
Link to keep track of https://github.com/abiocljs/abio
from cli-matic.
I am closing this bug for now after release 0.3.0 and focusing on specific issues
from cli-matic.
Thank you! Not a plank user (yet) but I see no reason why it shouldn't work on any self-host environment (like lumo)
from cli-matic.
Yes, but you have to start somewhere :) at this point, as it's working, we cn just change the platforms.cljs adding stuff there for various environments! 😄
from cli-matic.
Related Issues (20)
- example not executing as documented. HOT 1
- Do not dump stack trace on mistyped subcommand HOT 3
- [Ftr] dd sysexit codes
- Return value from `(doall ...)` causes `getReturnValue` to throw
- clj -m raises warning
- [Ftr] Flag to not run System/Exit HOT 5
- :default values for :jsonfile options do not parse files
- [Ftr] Babashka: avoid external bb.edn file HOT 2
- Glob multiple position arguments
- Update all dependencies but CLJ
- [Ftr] Snappier scripts with tiered compilation
- :multiple does not work with :default HOT 4
- [Ftr] Support repetition for flags ? e.g. ansible style verbose: -v / -vv / -vvv HOT 1
- [Ftr] Generate a basic UI for calling the application based on cli-matic configuration HOT 1
- [Ftr] Ability to extend type presets, like `:file` for conforming the arg to `File`
- [Ftr] Ability to *disable* -? gloabl help HOT 1
- cli-matic can enable global spec instrumentation under inappropriate circumstances HOT 2
- Returning lazy sequences from :runs throws - IPending is not IDeref HOT 1
- Update tools.cli to 1.0.219 HOT 1
- Remove contributors from README 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 cli-matic.