All apps/Scarb

Scarb

scarb

Build toolchain and package manager for Cairo and Starknet.

Runs as scarb|macOS, Linux, Windows|docs.swmansion.com

Command form

ai-draft · 5 tasks · 22 fields

Create, build, test and add dependencies. fmt, run, cache and metadata are not covered.

Opens the form; the finished command lands at your prompt, unrun
otty gui scarb

scarb new

Create a package
Create a packageExample values, fixed in this page — nothing here reaches a terminal
Basic
Path*
directory
Package name
string
No Git repository
--no-vcs
TasksEach one presets the form for one job
New package
pathnameno_vcs
ParametersOnly these flags are editable in the form
Path
path · positional 0
Package name
string
--name
No Git repository
boolean
--no-vcs

scarb build

Build
BuildExample values, fixed in this page — nothing here reaches a terminal
Basic
Package
string
Whole workspace
--workspace
TasksEach one presets the form for one job
Build
packageworkspace
ParametersOnly these flags are editable in the form
Package
string
--package-p
Verbose
count
--verbose-v
Quiet
count
--quiet-q
Whole workspace
boolean
--workspace-w

scarb test

Run tests
Run testsExample values, fixed in this page — nothing here reaches a terminal
Basic
Test filter
string
Whole workspace
--workspace
Package
string
TasksEach one presets the form for one job
Run tests
filterpackageworkspace
ParametersOnly these flags are editable in the form
Test filter
string
--filter-f
Only ignored tests
boolean
--ignored
Include ignored tests
boolean
--include-ignored
Whole workspace
boolean
--workspace-w
Package
string
--package-p
Verbose
count
--verbose-v
Quiet
count
--quiet-q

scarb add

Add a dependency
Add a dependencyExample values, fixed in this page — nothing here reaches a terminal
Basic
Dependency*
string
Package
string
Dry run
--dry-run
TasksEach one presets the form for one job
Add
deppackagedry_run
Add from Git
depgitbranchtag
ParametersOnly these flags are editable in the form
Dependency
string · positional 0
Package
string
--package-p
Local path
path
--path
Git URI
string
--git
Git branch
string
--branch
Git tag
string
--tag
Git revision
string
--rev
Dry run
boolean
--dry-run
SourcesEvery flag above is checked against these
src
completion

github.com

src
completion

github.com

src
completion

github.com

src
completion

github.com

src
completion

github.com

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