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

CLI Interface for conjure_oxide #199

Closed
niklasdewally opened this issue Feb 9, 2024 · 3 comments
Closed

CLI Interface for conjure_oxide #199

niklasdewally opened this issue Feb 9, 2024 · 3 comments
Labels
area::conjure-oxide Related to conjure_oxide. good first issue Good for newcomers

Comments

@niklasdewally
Copy link
Collaborator

niklasdewally commented Feb 9, 2024

In order to make conjure-oxide actually usable, it needs to have a CLI interface.

As a starting point, we need

  • A conjure solve command that takes an Essence file and optionally a params file, produces a solution, and saves it to a file
  • CLI parameters to select the solver
  • CLI patrameters to select a specific frontend
  • (MAYBE) flags to enable specific "unstable" features

Wishlist:

  • Need to support common UNIX patterns (e.g taking input from stdin, output to stdout)
  • Need to stay as close to original conjure as possible
  • Need to support a variety of use cases (not just "take a file, get all solutions"
@niklasdewally niklasdewally added area::conjure-oxide Related to conjure_oxide. priority::next We need this next. status::vip-help-wanted This issue needs someone to work on it. priority::soon We'll need this soon, or other features may be blocked. and removed priority::next We need this next. labels Feb 9, 2024
@gskorokhod
Copy link
Contributor

Closing #103 as duplicate of this

@niklasdewally
Copy link
Collaborator Author

We store global settings in a global context object (https://github.com/conjure-cp/conjure-oxide/blob/main/crates/conjure_core/src/context.rs), as described in #221.

Looking at the UX of Conjure-Oxide, and writing/improving the CLI in general could be a good first issue.

@niklasdewally niklasdewally added good first issue Good for newcomers status::vip-good-first-issue and removed status::vip-help-wanted This issue needs someone to work on it. priority::soon We'll need this soon, or other features may be blocked. labels Sep 25, 2024
@niklasdewally
Copy link
Collaborator Author

This is somewhat ill-defined, so I'll close it for now, and split UX upgrades into individual issues

@niklasdewally niklasdewally closed this as not planned Won't fix, can't repro, duplicate, stale Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area::conjure-oxide Related to conjure_oxide. good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants