mirror of
https://github.com/dtomlinson91/tembo.git
synced 2025-12-22 06:05:44 +00:00
51 lines
2.3 KiB
Plaintext
51 lines
2.3 KiB
Plaintext
Functionality:
|
|
☐ Handle case where there are no scopes in the config and command is invoked.
|
|
☐ Have an `--example` flag to `new` that prints an example given in the `config.yml`
|
|
☐ Should be a `tembo new --list` to list all possible names.
|
|
☐ When template not found, raise a Tembo error
|
|
☐ Convert spaces to underscores in filepath
|
|
currently raises jinja2.exceptions.TemplateNotFound on line 62, in _load_template
|
|
☐ Add update notification?
|
|
check pypi for latest version and compare to current
|
|
✔ `TEMBO_CONFIG` should follow same pattern as other env vars and be a python string when read in @done(21-10-24 05:31)
|
|
|
|
Bug:
|
|
☐ tokens
|
|
Say we have input0 and input3 in file path
|
|
and we have input1 and input2 in template
|
|
it only recognises this as 2 inputs total, not four.
|
|
passing in tembo new meeting a b will work and input0=input1, input3=input2
|
|
|
|
VSCode:
|
|
☐ Look at <https://github.com/CodeWithSwastik/vscode-ext>
|
|
|
|
Logging:
|
|
|
|
Documentation:
|
|
☐ Document usage of Panaetius in a module
|
|
Using the logger, initialising with the config path etc
|
|
✘ Uses Pendulum tokens: https://pendulum.eustace.io/docs/#tokens @cancelled(21-10-24 05:32)
|
|
☐ Uses `strftime` tokens: <https://strftime.org>
|
|
☐ Document latest typing.
|
|
☐ Using from `__future__` with `|`
|
|
☐ `using Tuple[str, ...]`
|
|
☐ `Sequence` vs `Collection`
|
|
☐ Document how to do docstrings in python. Don't document `__init__` do it in class.
|
|
Should update the default gist to hide the `__init__` messages
|
|
☐ Document using jinja2 briefly and link to Tembo (link to <https://zetcode.com/python/jinja/>)
|
|
|
|
Logging:
|
|
☐ How to raise + debug an exception?
|
|
☐ Document how to raise a logger.critical instead of exception
|
|
in a try, except you can just do logger.critical(exec_info=1) to print the stack
|
|
|
|
Tembo:
|
|
☐ Document creating new Tembo config
|
|
☐ ~/tembo needs creating
|
|
☐ ~/tembo/.config
|
|
☐ ~/tembo/.templates
|
|
☐ ~/tembo/logs
|
|
☐ Document how to overwrite these with ENV vars
|
|
☐ have a git repo with all the above already configured and walk user through
|
|
clone the repo, delete .git, git init, configure and add git origin
|