### Tasks
- [x] Phase out `ok get` command
- [x] Create `ok pkg install` command
- [ ] Phase out `get-template` and `get` subcommands
Undecided
What to name the package file?
package.yml
Platefile.yml
.boilerplate.yml
Could it be useful to include Boilerplate in the name?
Inspiration
npm
pip
poetry
Decisions
Consider
Decision
Why
Move vars to configuration (package.yml) file
š„
Can't be used with regular Boilerplate CLI
Use JSON
š„
Boilerplate uses YAML
Use YAML
š
Same as Boilerplate, i.e. give users same UX for Boilerplate and ok. Not included in Go standard library.
Use go-yaml/yaml
š
Decent library. Not updated in 2 years. Easy to replace if needed.
Use same variable names as Boilerplate and Git (ref)
š
No better suggestions
Use pascal case in config
š
Boilerplate uses pascal case because it's a Go convention. However, snake case is arguably easier to read. Search the web for the science. However, we choose to use same convention for both Boilerplate and ok (i.e. pascal case). Consider changing both to snake case.
Undecided
package.yml
Platefile.yml
.boilerplate.yml
Could it be useful to include Boilerplate in the name?
Inspiration
npm
pip
poetry
Decisions
package.yml
) fileok
. Not included in Go standard library.go-yaml/yaml
ref
)Boilerplate
andok
(i.e. pascal case). Consider changing both to snake case.Config format
Snake case:
Camel case:
Pascal case: