Skip to content
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

Open
1 task done
acuarica opened this issue Nov 14, 2022 · 0 comments
Open
1 task done
Assignees
Labels
doc-change-required Issue indicates a change to documentation is required enhancement priority3 🔧

Comments

@acuarica
Copy link


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, and run. All these commands accept the --network option, that allows the user to indicate the network name as declared in truffle-config.js.

However, only console and debug 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 commands deploy/migrate, exec, test and run.

Environment

  • Truffle version (truffle version): v5.6.5 (core: 5.6.5)
  • node version (node --version): v16.18.0
  • npm version (npm --version): 8.19.2
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
doc-change-required Issue indicates a change to documentation is required enhancement priority3 🔧
Projects
None yet
Development

No branches or pull requests

4 participants
@cds-amal @acuarica @sukanyaparashar and others