sdkcraft (CLI)¶
SDKcraft is the SDK-author tool, shipped as its own snap. While workshop and sdk are aimed at workshop users and workshopctl runs inside workshops, sdkcraft is what an SDK publisher uses on their workstation to scaffold, build, test, try, and publish SDKs to the SDK Store.
There are several categories of commands that vary by their purpose:
Actions |
Commands |
What they do |
|---|---|---|
Lifecycle |
build, clean, pack, prime, pull, stage, test, try |
Work through the parts-based build pipeline to produce an SDK artefact and try it locally before publishing. |
Store |
create-track, register, release, upload |
Claim an SDK name, manage its tracks, upload artefacts, and release revisions to channels. |
Store account |
login, whoami |
Authenticate against the SDK Store and inspect the active identity. |
Other |
init, version |
Bootstrap a new project layout and report the installed SDKcraft version. |
Note
SDKcraft is a separate snap, installed independently of Workshop. See the SDKcraft repository for installation and release notes.
See also¶
Explanation:
Reference:
Tutorial: