Skip to content

Add ignite scaffold param <name>:<type> --module <module> #3684

@Olshansk

Description

@Olshansk

Is your feature request related to a problem or issue you encountered? Please describe.

Yes, I'd like to add a parameter to an already scaffold module.

Describe the solution you'd like

Current Flow:

# Add params when scaffolding a module
ignite scaffold module foo --params baz:uint,bar:bool

# Manually add new params after the fact

Proposed workflow:

# Scaffold a module
ignite scaffold module foo

# Scaffold params dynamically

ignite scaffold param baz:uin --module foo

Describe alternatives you've considered

Look at ignite documentation for how to add params.

  1. Scaffold a new (temp) module with params
  2. Ctrl-f for lines related to my param name
  3. Copy paste those lines in my pre-existing module

Ref: https://docs.ignite.com/references/cli

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions