Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was 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

@acuarica

Description

@acuarica

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions