Open lumtis opened 3 years ago
I like the idea. --no-import
is a bit shorter.
I like the idea.
--no-import
is a bit shorter.
This is to stay consistent with our current flag --require-registration
@lubtd @fadeev I want to work on this bug can you tell me how to do it? Thanks
@lubtd @fadeev I want to work on this bug can you tell me how to do it? Thanks
Hey @championshuttler, sure you can if you're interested in this👍 This is not a bug but rather a feature
For the implementation it should be few lines of codes. The package services/scaffolder
contains logic for scaffolding command. We want to add a flag to the starport s module
command defined in cmd/scaffold_module.go
so that the app.go
file modification is skipped: https://github.com/tendermint/starport/blob/ff59c3a333854573df3c1b23e6fcc957804e376b/starport/services/scaffolder/module.go#L220
Add a flag
--no-registration
to only scaffold module without registering it to theapp.go
so the module is part of the codebase but not part of the blockchainExample usage:
spn
, themonitoring-testnet
module exists but will only be used by chains that connect tospn
General usage: a utilitary module used by a remote chainWe already not register when an error happen with
app
so implementation must be trivial