alvarogarcia7 / cli-app-base-clojure

A Clojure Skeleton for creating new CLI apps. Clone it and modify. Discard some previous examples. Ready to Rumble!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLI Application base, in Clojure Build Status

Usage

  • Clone the repo
  • Choose a license -> project.clj::license
  • Find a project name -> project.clj::defproject
  • Find a package name -> project.clj::main, aot, folders in test, src
  • Change this README.md
  • Change the git remote
  • Start writing tests
  • Execute them with lein midje :autotest or inside the REPL
  • Push (to you new remote)

Tests

Testing from the CLI

lein midje :autotest

This has the advantage that loads everything, each time.

Testing inside the REPL

lein repl
(use 'midje.repl)
(autotest)

This has the advantage that is faster.

About

A Clojure Skeleton for creating new CLI apps. Clone it and modify. Discard some previous examples. Ready to Rumble!


Languages

Language:Clojure 95.3%Language:Makefile 4.7%