id = "forc"
name = "Forc"
homepage = "https://docs.fuel.network/docs/forc/"
description = "Forc stands for Fuel Orchestrator, providing tools and commands for developers working with the Fuel ecosystem."
icon = "https://docs.fuel.network/icons/fuel-logo-512.png"
executables = ["forc"]
[dotfiles]
paths = []
exclude = ["~/.forc/git/"]
secret = ["~/.forc/credentials.toml"]
[commands]
format = 1
label = "Forc project"
description = "Create, build and test Sway projects with Forc. Only flags present in the Fig completion spec are offered."
quality = "ai-draft"
base = "fig:forc"
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false }
[[commands.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/forc.ts"
license = "MIT"
[[commands.subcommand]]
path = ["new"]
label = "Create a project"
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/forc.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "path"
label = "Project path"
type = "path"
position = 0
path = { kind = "directory", role = "output", must_exist = false }
sources = ["fig"]
[[commands.subcommand.task]]
id = "new"
label = "New project"
fields = ["path"]
required = ["path"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["path"]
[[commands.subcommand]]
path = ["build"]
label = "Build a project"
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/forc.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "path"
label = "Project path"
type = "path"
option = ["-p"]
path = { kind = "directory", role = "input" }
sources = ["fig"]
[[commands.subcommand.field]]
id = "terse"
label = "Terse output"
type = "boolean"
option = ["-t"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "build"
label = "Build"
fields = ["path", "terse"]
required = []
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["path", "terse"]
[[commands.subcommand]]
path = ["test"]
label = "Run unit tests"
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/forc.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "filter"
label = "Test name filter"
type = "string"
position = 0
sources = ["fig"]
[[commands.subcommand.field]]
id = "path"
label = "Project path"
type = "path"
option = ["-p"]
path = { kind = "directory", role = "input" }
sources = ["fig"]
[[commands.subcommand.field]]
id = "terse"
label = "Terse output"
type = "boolean"
option = ["-t"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "test"
label = "Run tests"
fields = ["filter", "path", "terse"]
required = []
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["filter", "path", "terse"]