Skip to content

meigma/imgcli

imgcli

imgcli is a prototype CLI for building disk image artifacts from CUE configuration and, later, publishing those artifacts to imgsrv.

The repository is still in the design and scaffolding stage. The current working design is intentionally lightweight and lives in docs/docs/design.md.

Quick Start

There is not an installable imgcli binary yet. The working repository content today is the documentation site and project scaffolding.

Prerequisites

  • Node.js 22.22.2
  • npm
  • Moon, if you want to run the same task graph used by CI

Build the docs

npm ci --prefix docs
npm --prefix docs run build

Run the docs locally

npm --prefix docs run start

Usage

One intended release-pipeline workflow is image publishing:

imgcli publish --version 1.0.0 --alias latest --alias prod config.cue

That command is design intent, not current behavior. The v0 prototype will start with local-only plan and build paths for one IncusOS artifact, then add publishing once the imgsrv API is stable enough to target.

Configuration

imgcli will read one CUE image configuration file, resolve it into concrete artifact work, and write deterministic local outputs under dist/ by default.

Release versions and aliases are publish-time inputs. They should come from the release pipeline, usually a release tag plus explicit CLI flags, rather than being hard-coded into the CUE file.

Documentation

Support

Use GitHub Discussions for questions and general support. Use GitHub Issues for non-security bug reports.

Do not report vulnerabilities in public channels. See SECURITY.md.

Contributing

See CONTRIBUTING.md for contribution guidelines, local setup expectations, and pull request workflow.

Security

See SECURITY.md for supported versions and the private vulnerability reporting path.

License

imgcli is dual-licensed under the Apache License 2.0 or the MIT License, at your option. See LICENSE, LICENSE-APACHE, and LICENSE-MIT.

About

No description, website, or topics provided.

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Generated from meigma/template