Skip to content

CLI Reference

ao3575911 edited this page Oct 30, 2026 · 1 revision

CLI Reference

Every command has exactly one short alias (langsuite l show haskell = langsuite lang show haskell). Subcommands also accept ls = list, sh = show, rm = remove. Run langsuite <command> -h for full options.

Explore

Command Alias Subcommands Example
similar s — langsuite similar scheme --k 5 · langsuite s scheme --vs racket · --by code
cluster c — langsuite cluster --langs haskell,ocaml,scheme,racket,c --k 2
influence i — langsuite influence haskell --depth 1
lang l list, show langsuite lang list scheme -f macros · langsuite l show haskell --evidence
feature ft list, show langsuite feature show lazy-evaluation
dashboard db rename langsuite dashboard
inclusion inc [LANG], show, check, list langsuite inclusion rust · langsuite inclusion list --status archived

Query

Command Alias Subcommands Example
query q — langsuite query "homoiconicity year<1990 sort=year" --save old-lisps
ask a — langsuite ask does haskell have type inference
docs dc search, quote, ingest langsuite docs quote python for loops

Analyse

Command Alias Example
rank r langsuite rank --top 5 --filter "grade>=B paradigm=functional"
compare cp langsuite compare haskell ocaml
diff df langsuite diff fizzbuzz --lang python,ruby
like lk langsuite like fizzbuzz --as haskell --in python

Workspace

Command Alias Subcommands Example
extract x — langsuite x --title "Early Lisps"
finding f save, list, show, verify, remove, export langsuite finding save similar scheme
note n add, list, remove langsuite note add "check Racket's macro hygiene" --on f1
workspace w init, use, list, show, import, export, forget-data, sync langsuite workspace init lisp-survey
base b build, status, snapshots, pin, pull, publish, changelog langsuite base status

workspace sync needs the hosted service, which is not deployed (Roadmap).

Write

Command Alias Example
snippet sn langsuite snippet fizzbuzz --lang python,rust
guide g langsuite guide haskell
verify v langsuite verify hello.py · langsuite verify --toolchains

Account

Command Alias Subcommands Example
login li — Exits 4 until the hosted service is live
logout lo — langsuite logout
usage u — langsuite usage
badges bg — langsuite badges
streak st — langsuite streak
account ac suggest, claim, rename, private, link, lookup langsuite account suggest --name "Ada Lovelace" --languages ocaml,lisp

System

Command Alias Subcommands Example
mode m — langsuite mode concise --global
mcp j — langsuite mcp (stdio)
ui t — langsuite ui --serve
settings set gamification, profile langsuite settings profile safety=2 popularity=0.5
bot bt run, try, commands langsuite bot try "/s scheme --k 3"
webhook hk add, list, remove, test langsuite webhook list

Real outputs

$ langsuite query "homoiconicity year<1990 sort=year"
id      name    kind  year  traits
lisp    Lisp    pl    1958       3
scheme  Scheme  pl    1975       9
2 of 2 · homoiconicity and year<1990 · sort year · base-4fe788452522
$ langsuite rank --top 5 --filter "grade>=B paradigm=functional"
#  id          score  grade  conf  safet  expre  modul  popul  matur
1  haskell      88.6    A    100%    100     92     89     62    100
2  javascript   78.9    B    100%     29     77     89    100    100
3  rust         71.7    B    100%     86     77     67     65     64
3 of 3 · criteria/1 · missing criteria lower confidence, never add zeros · base-4fe788452522
$ langsuite compare haskell ocaml
criterion       haskell   ocaml
Safety              100      57
Expressiveness       92       0
Modularity           89      44
Popularity           62      51
Maturity            100     100
total            88.6 A  50.5 D
features: 0.274 (features-idf-jaccard/1) · code: 0.007 over 7 Rosetta tasks
$ langsuite influence haskell --depth 1
Haskell (0 upstream · 7 downstream, 1 hop(s))
Influenced by
  —
Influenced
  civet Civet
  curry Curry
  flare Flare
  ...
$ langsuite like fizzbuzz --as haskell --in python
FizzBuzz the haskell way
fizzbuzz :: Int -> String
fizzbuzz x
  | f 15 = "FizzBuzz"
  | f 3 = "Fizz"
  | f 5 = "Buzz"
  | otherwise = show x
  where
    f = (0 ==) . rem x
$ langsuite feature show lazy-evaluation
Yes (3): R, C3, popr
No (0):

This reflects what PLDB records for hasLazyEvaluation; unknown is never counted as "no". See Knowledge Base and Sources.

Clone this wiki locally