Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/liquidz/clj-xmas

:christmas_tree: :christmas_tree: :christmas_tree:
https://github.com/liquidz/clj-xmas

christmas christmas-tree clojure xmas xmas-tree

Last synced: 3 months ago
JSON representation

:christmas_tree: :christmas_tree: :christmas_tree:

Awesome Lists containing this project

README

        

= clj-xmas

image:xmas.png[]

== Usage

[source,clojure]
----
clojure -Sdeps '{:deps {com.github.liquidz/clj-xmas {:git/tag "1.0.0" :sha "c399dd4"}}}' -M -m xmas.core
----

=== Clojure CLI Tools (`1.10.3.933` or later)

[source,sh]
----
# Install as a tool
clojure -Ttools install com.github.liquidz/clj-xmas '{:git/tag "1.0.0"}' :as merry

# Plant a tree
clojure -Tmerry xmas

# Uninstall
clojure -Ttools remove :tool merry
----

=== Options

[cols="1a,1a,1a,7a"]
|===
| Short | Long | Default | Description

| `-s`
| `--size`
| `5`
| Tree size

| `-n`
| `--number`
| `1`
| How many trees

| `-a`
| `--animation`
| `false`
| Animation

| `-i`
| `--interval`
| `1`
| Animation interval (unit: Sec)

|===

== Native image

* Run `make native-image`
** GraalVM is downloaded to `/tmp/.graalvm` automatically.

== License

Copyright © 2021 https://twitter.com/uochan[Masashi Iizuka]

This program and the accompanying materials are made available under the
terms of the Eclipse Public License 2.0 which is available at
http://www.eclipse.org/legal/epl-2.0.

This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the Eclipse
Public License, v. 2.0 are satisfied: GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or (at your
option) any later version, with the GNU Classpath Exception which is available
at https://www.gnu.org/software/classpath/license.html.