This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
Support --url
option in all Truffle CLI commands that accept a network
#5701
Labels
Issue
Some Truffle CLI commands need a network connection to perform their action. Here is a non-exhaustive list of these commands:
console
,debug
,deploy
/migrate
,exec
,test
, andrun
. All these commands accept the--network
option, that allows the user to indicate the network name as declared intruffle-config.js
.However, only
console
anddebug
commands have an alternative option to specify the network. They accept the--url
option to indicate the provider url to use.It would be a great addition to Truffle to make all commands that accept a connection consistent. That is, to add the
--url
option to the rest of commandsdeploy
/migrate
,exec
,test
andrun
.Environment
truffle version
):v5.6.5 (core: 5.6.5)
node --version
):v16.18.0
npm --version
):8.19.2
The text was updated successfully, but these errors were encountered: