Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: tket2 cli #222

Open
ss2165 opened this issue Nov 7, 2023 · 1 comment
Open

feat: tket2 cli #222

ss2165 opened this issue Nov 7, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@ss2165
Copy link
Member

ss2165 commented Nov 7, 2023

TKET2 compilation should have a CLI. We already have some ad-hoc executables, but it is useful to think about a unified interface. Here are some ideas:

  • The command should be tket
  • The default interface should be something like tket file.hugr -o out.hugr, c.f. llvm-opt. This encourages saving serialized hugr to file so it is worth waiting until we can version that and keep it relatively stable.
  • It may be worth having subcommands for more complicated operations (linking hugrs?)
@ss2165 ss2165 added enhancement New feature or request tracking-issue An issue tracking progress on multiple sub-tasks. labels Nov 7, 2023
@aborgna-q
Copy link
Collaborator

Maybe have sub-commands from the start, so we can e.g. include tket compile, tket taso, etc. ?
Those have different sets of arguments, so having a --taso flag would be impractical.

@ss2165 ss2165 changed the title tket2 cli feat: tket2 cli Nov 7, 2023
@aborgna-q aborgna-q removed the tracking-issue An issue tracking progress on multiple sub-tasks. label Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants