shell icon indicating copy to clipboard operation
shell copied to clipboard

should "new" understand extensions to eschew --kind?

Open rabbah opened this issue 7 years ago • 1 comments

If you create a new action hello.py, the .py is just treated as part of the name of the action and the type of action will be node. To override this behavior, you need to specify --kind.

Other shell commands understand extensions - in particular web actions. Should new hello.[py,php,...] understand extensions similarly? Thoughts?

rabbah avatar May 18 '18 19:05 rabbah

yup, this sounds like a good idea! as to the absence of this feature, i think i was just trying to minimize the initial code drop for the editor work.

starpit avatar May 18 '18 20:05 starpit