Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Pass CLI arguments to parachain/relay chain node #34

@bkchr

Description

@bkchr

When running the collator, I want to pass CLI arguments that are related to the parachain and to the relay chain. As both are substrate projects, we need to make it possible to pass the same arguments twice to the same binary.

We want the following syntax:

collator --name parachain -- --name relaychain

The first arguments before the -- are the parachain parameters and everything after -- is a relay chain parameter.

--help should make it clear how we expect parameters to be passed.

Maybe we could also include some reasonable defaults for ports, so that they don't clash: #24

Like putting the relay chain ports at default + 1 (if they are not overwritten by a cli arg)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions