Files
cell/scripts/init.ce
2025-11-29 23:44:40 -06:00

23 lines
741 B
Plaintext

// cell init - Initialize a new .cell program shop
var shop = use('shop')
// Initialize the .cell directory structure
log.console("Initializing .cell program shop...")
var success = shop.init()
if (success) {
log.console("Created .cell directory structure:")
log.console(" .cell/")
log.console(" ├── cell.toml (manifest)")
log.console(" ├── lock.toml (checksums)")
log.console(" ├── modules/ (vendored source)")
log.console(" ├── build/ (compiled modules)")
log.console(" └── patches/ (patches)")
log.console("")
log.console("Edit .cell/cell.toml to configure your project.")
} else {
log.error("Failed to initialize .cell directory")
}
$_.stop()