dolittle-obsolete / cli

Command Line Interace for working with the Dolittle platform
MIT License
0 stars 2 forks source link

Add feature - across concerns #76

Open einari opened 5 years ago

einari commented 5 years ago
$ dolittle add feature <Name Of Feature>

Adds it to all the different concerns (Domain, Events, Read ---- ALL). If modules are enabled, you need provide the module.

┆Issue is synchronized with this Asana task

woksin commented 5 years ago

What should this actually do? Without any artifacts a feature is just a folder

woksin commented 5 years ago

I think that the newest changes I've made to the cli kinda does what you want. Check it out and merge it inn so I can publish the package.

einari commented 5 years ago

Its just painful adding folders on every project. Should just be a simple ; add feature. Is this what is in the latest stuff?

woksin commented 5 years ago

It does not just add folders. You can do: $ dolittle add blah Feature.SubFeature.SubFeatureN.ArtifactName And it will create all the folders for you

woksin commented 5 years ago

I don't think that we need this

einari commented 5 years ago

Maybe we're talking past each other here. This feature is about adding feature folders automatically into each project with one command.

Si from anywhere type "dolittle add feature blah" and a folder called "blah" will be in Concepts, Domain, Events, Read and so forth. If using modules it would honor that and you'd have to specify which module - unless you're in a module doing it - then the module is implicit.

If I understood the rc file thing - that's where the path for the different concerns are. Which is where we'd go to figure out where to put things.