All apps/elm-json

elm-json

elm-json

Install, upgrade and remove Elm dependencies in elm.json.

Runs as elm-json|macOS, Linux, Windows|github.com

Command form

ai-draft · 2 tasks · 5 fields

Manage the dependencies in an elm.json file.

Opens the form; the finished command lands at your prompt, unrun
otty gui elm-json
elm-jsonExample values, fixed in this page — nothing here reaches a terminal
Basic
Offline mode
--offline
ParametersOnly these flags are editable in the form
Offline mode
boolean
--offline

elm-json install

Install a package

Add a package, e.g. elm/core or elm/core@1.0.2. Updates elm.json.

Install a packageExample values, fixed in this page — nothing here reaches a terminal
Basic
Package*
string
As test dependency
--test
TasksEach one presets the form for one job
Install package
packagetest
ParametersOnly these flags are editable in the form
Package
string · positional 0 · repeatable
As test dependency
boolean
--test
Answer yes to prompts
boolean
--yes

elm-json tree

Dependency tree

List the whole dependency graph as a tree.

Dependency treeExample values, fixed in this page — nothing here reaches a terminal
Basic
Promote test dependencies
--test
TasksEach one presets the form for one job
Show tree
test
ParametersOnly these flags are editable in the form
Promote test dependencies
boolean
--test
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed elm-json against its version. A form that does not match your version is not offered.