Skip to content

Commit

Permalink
Fixes #69 - recursive sub-commands
Browse files Browse the repository at this point in the history
  • Loading branch information
lenz committed Jun 5, 2020
1 parent aeb4536 commit 03dace1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 41 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Change Log
All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).

# 0.4.0 - 2020-06-05
### Changes
* Fixes #69 - Recursively nested sub-commands

# 0.3.12 - xxxx-xx-xx
### Changes
* Fixes #88 - Tests now pass in a timezone-independent way (tks lread)
Expand Down
41 changes: 1 addition & 40 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,8 @@
# CLI-matic (branch bug 69)

## Want to help develop the new generation of CLI-matic?

This branch is dedicated to version 0.4.0, a version having aribtrarily nested parameters - see https://github.com/l3nz/cli-matic/issues/69

As this required quite a bit of clean-up in existing code, my first goal is to only have internal changes in a format that may support hierarchical parameter nesting, and automatically convert parameters as documented in older scripts to the new format. When this works, we'll expand the hyerarchical thing. Now the code is mostly done, but I need your help in making sure there are no surprises.

As a side effect, for now I'm not merging anything into version master until 0.4 is stable.

**How you can help:** just add the current snapshot of 0.4 to your scripts, and make sure they (still) work. Make no other changes. If you find any regressions, please open a bug here (and revert to 0.3 until fixed). That's all there is to do. **Thank you!**

Just use:

Leiningen/Boot

[cli-matic "0.4.0.1-SNAPSHOT"]

Clojure CLI/deps.edn

cli-matic {:mvn/version "0.4.0.1-SNAPSHOT"}


The current state of 0.4.0 can be found at https://github.com/l3nz/cli-matic/milestone/1



## Same as always....
# CLI-matic

Compact [sub]command line parsing library, for Clojure. Perfect for scripting (who said
Clojure is not good for scripting?).

Dude, can you spare a second?
-----------------------------
I could definitely use a few helping hands in moving forward
with version 0.4 - no rocket science, just 5 minutes of
your time. Just try out the snapshot....
Thank you!

See the README of the development branch here: https://github.com/l3nz/cli-matic/tree/b69_nested

---


**Especially when scripting, you should write interesting code, not boilerplate.** Command line apps are usually so tiny that there is absolutely no reason why your code should not be self-documenting. Things like generating help text and parsing command flags/options should not hinder productivity when writing a command line app.

CLI-matic works with GraalVM, giving unbeatable performance for stand-alone command-line apps that do not even need a Java installation - see [Command-line apps with Clojure and GraalVM: 300x better start-up times](https://www.astrecipes.net/blog/2018/07/20/cmd-line-apps-with-clojure-and-graalvm/).
Expand Down
2 changes: 1 addition & 1 deletion project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject cli-matic "0.4.0.1-SNAPSHOT"
(defproject cli-matic "0.4.0"
:description "Compact [sub]command line parsing library, for Clojure"
:url "https://github.com/l3nz/cli-matic"
:license {:name "Eclipse Public License, v2"
Expand Down

0 comments on commit 03dace1

Please sign in to comment.