0.2.5 • Published 8 years ago

ko-gen v0.2.5

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

ko is a project generator written in bash

the name comes from the game of go, where ko is a rule which disallows infinite repitions. I like that name for this.

I use bash to copy files around and replace parts of them

so why would I write an automator for that in bad OO js?

and why would I require user interaction in an automator?

these are just a few problems I have with current solutions.


we want to be able to set constants in our project

and then use those constants to render files (one dir at a time usually)

into our project

first step:

a generator with a dir structure of

package.json /:command/{package.json, sourcefile.template.*}

would allow us to issue the commands

ko command subcommand cli-param --option

where options are listed in the package.jsonko

ie

ko directive ko-table-paginator ko

which would make a directive called ko-table-paginator in components/ko/

((the generator command has ./components as a default directory))


later

also commands can have nicknames which are lazier to type

ko d ko-table-paginator ko

and maybe a smart generator would use the namespace to place the files!


this first generator I'm writing is for angular es6

and the rendering will be done by bash itself

frankly, anything more would be overkill.

0.2.5

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.88888888

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago

0.0.0

9 years ago