You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an issue for a proposed new command: fuelup toolchain export <toolchain>
This should generate a fuel-toolchain.toml in the Sway project root containing
toolchain name,
components in the toolchain.
Example flow:
$ fuelup defaultmy-toolchain (default)
$ fuelup show...active toolchain-----------------my-toolchain (default) forc : 0.31.1 - forc-client - forc-deploy : 0.31.1 - forc-run : 0.31.1 - forc-doc : 0.31.1 - forc-explore - not found - forc-fmt : 0.31.1 - forc-index : 0.1.10 - forc-lsp : 0.31.1 - forc-wallet - not found fuel-core - not found fuel-indexer - not found
$ fuelup toolchain exportexported 'my-toolchain' into 'fuel-toolchain.toml'
This should then create a TOML file:
[toolchain]
name = "my-toolchain"
[components]
forc = "0.31.3"# note that 'forc-fmt', 'forc-lsp', 'forc-doc', 'forc-client' are packaged with 'forc'forc-index = "0.1.10"
The command should fail when there's an existing fuel-toolchain.toml in the project root. A --force flag should be added to disregard the existing TOML file:
fuelup toolchain export --force <toolchain>
The text was updated successfully, but these errors were encountered:
This is an issue for a proposed new command:
fuelup toolchain export <toolchain>
This should generate a
fuel-toolchain.toml
in the Sway project root containingExample flow:
This should then create a TOML file:
The command should fail when there's an existing
fuel-toolchain.toml
in the project root. A--force
flag should be added to disregard the existing TOML file:fuelup toolchain export --force <toolchain>
The text was updated successfully, but these errors were encountered: