Skip to content

andelf/clojure-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clojure-cli

Clojure CLI for Windows and all the other platforms.

Usage

> cargo install --git https://github.com/andelf/clojure-cli.git

> clojure

> clojure -Sverbose -Ttools

> clojure -Sdeps '{:deps {cljfmt/cljfmt {:mvn/version "0.9.0"}}}' -m cljfmt.main check

Rationale

clj on Windows is defined as PowerShell functions.

  • Cannot be used as binary commands (use with yarn/npm/gulp/etc.)
  • Not compatible with pwsh 7.0+ (repl quits at once)
  • Cannot be used in cmd.exe easily (require call to powershell.exe)
  • Difficult to handle escape sequences in cmd/powershell

About

Clojure CLI in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages