init with copy of cms cli project
This commit is contained in:
commit
94a39d5b44
1605 changed files with 1924 additions and 0 deletions
24
README.md
Normal file
24
README.md
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Image Service CLI
|
||||
|
||||
A simple tool to upload images to s3 and provide image service transformation urls.
|
||||
|
||||
Written in Clojure via Babashka. Interactive elements are powered by [Gum](https://github.com/charmbracelet/gum).
|
||||
|
||||
|
||||
## Run dev
|
||||
|
||||
To run commands:
|
||||
|
||||
```shell
|
||||
$ bb -m cli-cms.main create
|
||||
```
|
||||
|
||||
Or to play around and call individual functions using the REPL:
|
||||
|
||||
```shell
|
||||
$ rlwrap bb repl
|
||||
user=> (require '[cli-cms.create :as command])
|
||||
user=> (def mock-snippet {:title "mock snippet from repl" :slug "mock" :tags '("mock") :markdown "# This is a mock"})
|
||||
#'user/mock-snippet
|
||||
user=> (command/create-snippet mock-snippet)
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue