onflow / flow-cli

The Flow CLI is a command-line interface that provides useful utilities for building Flow applications
https://onflow.org
Apache License 2.0
206 stars 62 forks source link

Disable account creation command for mainnet #1562

Open chasefleming opened 1 month ago

chasefleming commented 1 month ago

Issue Description:

Currently, the flow accounts create command is enabled for mainnet in the CLI. This command allows users to create accounts directly on the mainnet, which could lead to unintended consequences or misuse. To prevent this, the flow accounts create command should be disabled specifically for the mainnet.

Suggested Solution:

When users attempt to use flow accounts create on mainnet, it should display a message guiding them on how to create an account for mainnet using alternative methods.