pre-commit-ci[bot]
c8a1915f58
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-02-21 22:38:06 +01:00
Emil Stenström
1f50ed0bd5
Add script to upgrade component syntax.
2024-02-21 22:38:06 +01:00
Emil Stenström
48fe8171b4
Reformat lines that became too long. And enforce 119 line length.
2024-02-21 22:38:06 +01:00
Dylan Castillo
27b35f32b9
Add startcomponent test cases and setup ( #346 )
2023-12-17 23:40:12 +01:00
Hanif Birgani
4753698765
fix(context): change context template in the template file and rename context dict keys with default values.
2023-10-09 22:28:11 +02:00
Hanif Birgani
ba436c0080
fix: raise command error if path
or BASE_DIR
not available
2023-10-09 22:28:11 +02:00
pre-commit-ci[bot]
4f4b81b7a0
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-10-09 22:28:11 +02:00
Hanif Birgani
58c7d55256
fix(management):
...
- Add `path` argument for custom component path
- Add `js`, `css`, `template` arguments for custom component script, style and template files
- Add `force` argument to force rewrite the existing component
- Add `verbose` option to make the command more informative
- Add `dry-run` option to simulate the command without writing to disk
- related #249
2023-10-09 22:28:11 +02:00
Hanif Birgani
af107910a6
fix(management):
...
- use `textwrap.dedent` for better readability
- remove unused comments from generated python file
- related #249
2023-10-09 22:28:11 +02:00
Hanif Birgani
a45bfdc837
fix(management): change a line to pass flake8. related #249
2023-10-09 22:28:11 +02:00
pre-commit-ci[bot]
deb17c6c70
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-10-09 22:28:11 +02:00
Hanif Birgani
825b0cbbaa
feat(management): [WIP] add startcomponent
management command. related #249
2023-10-09 22:28:11 +02:00