--json.
Offline
Platform features need a Cordango workspace.
Sign up here and create one in a few minutes.
Connected to an instance
See Publishing for what those do in practice.
import
Two routes into the same place — a definition becomes semantic source underapps/, split one file
per aggregate, and it is registered in cordango.yaml.
name
The directory under
apps/ to import into. Defaults to the app’s handle, or its key for a file.
Use it to import a second copy alongside one you already have../support is never ambiguous.
configure
Where a workspace’s apps are meant to run is one decision, and it belongs in the repository rather than in everybody’s shell history.build: block into cordango.yaml, which is committed. cordango build then needs no
flags, for you or for anyone who clones it.
cordango.yaml
build takes for one run, configure takes to settle for good. A platform workspace
writes target alone — the other three describe generating source into a directory, which
publishing does not do.
standalone | dotnet-vue | platform
standalone generates a repository of its own. platform publishes to a Cordango instance.package | source
package restores Cordango.Standalone from NuGet. source checks it into the generated project
instead. Defaults to package.number
The demo dataset every build of this workspace gets.
flag
Settle for builds the generator can’t finish. Right while you’re still building, wrong for a
release — so this one is worth leaving unset and passing per run.
build: block that exists takes its default rather than failing, so a
hand-written two-line block is a perfectly good one.
Where the output goes is not one of the questions. A generated application lands in
generated/<app>/ inside the workspace, one directory per app, and there is no --out. It is
gitignored build output, reproducible from the source beside it — and still yours: move the
directory when an application is ready to have a life of its own.
The platform target needs a connection, and both configure and build refuse without one. That
isn’t ceremony: on the platform an app can see the other apps in the workspace and the core apps, so
there is nothing useful to decide about it offline. Run cordango login first.
A workspace with no build: block is not misconfigured — nobody has been asked yet. cordango build
asks when there is a terminal, and otherwise writes its definition artifacts and says what it did
not do.
build
cordango build on its own writes deterministic build artifacts under .cordango/build/<key>/.
Given the same source it writes the same bytes. When the workspace is configured for a target, it
also generates each app into generated/<key>/.
--target on the command line overrides the configuration for that one run:
number
Generate a different demo dataset.
flag
Accept a build the generator can’t finish, and report what got left out. Without it, missing
behaviour refuses the build.
flag
Check the
Cordango.Standalone source into the generated project, as a runtime/ project beside
api/, instead of restoring the package. Use it to work on the runtime itself, or to build against
a version no feed has yet.check
cordango validate is the same command. Use whichever word fits the sentence you’re writing.
