Skip to content
This repository has been archived by the owner on Jun 4, 2022. It is now read-only.

*command-line-args* not visible? #240

Closed
looselytyped opened this issue Aug 27, 2017 · 2 comments
Closed

*command-line-args* not visible? #240

looselytyped opened this issue Aug 27, 2017 · 2 comments

Comments

@looselytyped
Copy link

I attempted the following script

#!/usr/bin/env lumo

(ns bar.core
  (:require [cljs.core :refer [*command-line-args*]]))

(println (str "Hello " (first *command-line-args*) "!"))

And ran it with (after making the script executable)

./test looselytyped

The output is

Hello !

Lumo installation details

lumo -v
Lumo 1.7.0
ClojureScript 1.9.908
Node.js v8.4.0
 Docs: (doc function-name-here)
       (find-doc "part-of-name-here")
 Source: (source function-name-here)
 Exit: Control+D or :cljs/quit or exit

cljs.user=> exit

Note - Apologies if this is a rookie question. I just started playing with Lumo.

@anmonteiro
Copy link
Owner

this has been fixed in #237.

@looselytyped
Copy link
Author

I apologize @anmonteiro - I looked over the issues and somehow managed to miss that.

Thank you for the prompt response, and thank you and all the other for all the hard work.
Really enjoying playing with Lumo so far.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants