Skip to content

Remove cli#12

Merged
loichuder merged 1 commit into
mainfrom
remove-cli
Jun 2, 2026
Merged

Remove cli#12
loichuder merged 1 commit into
mainfrom
remove-cli

Conversation

@loichuder

@loichuder loichuder commented May 29, 2026

Copy link
Copy Markdown
Member

Fix #7

#10 (comment)

The CLI was removed and replaced by a Python function graph_to_svg that takes a ewokscore.graph.TaskGraph as input.

@codecov

codecov Bot commented May 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@woutdenolf woutdenolf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ewoksdraw exists to generate visual workflow representations for ewoks and ewokssphinx.

The CLI might be useful for development of ewoksdraw itself. But for users not so much, especially because it cannot handle any workflow, only the representations provided by ewokscore (so not .ows files).

I'll let @LudoBroche review since he might have an opinion on removing the CLI. The python function for ewoksdraw as a library is definitely needed.

@woutdenolf woutdenolf requested a review from LudoBroche May 30, 2026 09:22
Comment thread src/ewoksdraw/__init__.py

canvas.add_element(svg_task)

canvas.draw(output_path)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that the SvgCanvas can also generate SVG dict and string representations, not just files. Not sure we should already anticipate this usage.

@LudoBroche LudoBroche left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine with removing the CLI at this stage of development.

Comment thread README.md Outdated
@loichuder loichuder requested a review from LudoBroche June 2, 2026 06:00
@loichuder loichuder merged commit dd8aa75 into main Jun 2, 2026
2 checks passed
@loichuder loichuder deleted the remove-cli branch June 2, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ewoksdraw does not need to load graphs

3 participants