mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-08 22:21:45 +00:00
Add comments and docs link to generated arc.toml
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
8cec8d6546
commit
20b446d1e5
1 changed files with 16 additions and 2 deletions
|
|
@ -26,8 +26,22 @@ pub async fn run_init() -> Result<()> {
|
|||
}
|
||||
|
||||
// Create arc.toml
|
||||
std::fs::write(&arc_toml, "version = 1\n\n[arc]\nroot = \"arc/\"\n")
|
||||
.with_context(|| format!("failed to write {}", arc_toml.display()))?;
|
||||
std::fs::write(
|
||||
&arc_toml,
|
||||
"\
|
||||
# Arc project configuration
|
||||
# https://docs.arc.computer/getting-started/quick-start
|
||||
|
||||
version = 1
|
||||
|
||||
[arc]
|
||||
root = \"arc/\"
|
||||
|
||||
# Disable retrospective analysis after workflow runs:
|
||||
# retro = false
|
||||
",
|
||||
)
|
||||
.with_context(|| format!("failed to write {}", arc_toml.display()))?;
|
||||
eprintln!("Created {}", arc_toml.display());
|
||||
|
||||
// Create hello workflow directory
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue